Commit graph

1899 commits

Author SHA1 Message Date
tmk
a532b426c4 adb: Add reset() and reset_hard() 2021-06-22 11:46:50 +09:00
tmk
82a562bd81 adb_usb: Add mouse extended report support 2021-06-22 01:44:37 +09:00
tmk
51ceca97f7 ibmpc_usb: Add mouse extended report support 2021-06-22 00:42:01 +09:00
tmk
231b288ed9 ibmpc_usb: Inhibit until INIT state at powerup
Keep keyboard inhibited until scan-loop starts with INIT state
2021-06-22 00:33:40 +09:00
tmk
536d267465 ibmpc_usb: Add Mouse support
for Intellimouse, Explorer and Logitech PS/2++
2021-06-22 00:33:40 +09:00
tmk
c3a0141878 ibmpc: Replace unit16_t recv_data with ringbuf 2021-06-22 00:33:40 +09:00
tmk
d13ce4d06f ibmpc: Inhibit device while buffer is full 2021-06-22 00:33:40 +09:00
tmk
22b6e87f37 ibmpc: Revert 2a0471fd on ibmpc_host_send()
Restoring old recv_data can overwrite response data when the response is
multi-byte. This can happen when device responds with multiple bytes quickly,
for example Logitech MX518(PS/2) sends FA 00 in short period to F2 command
while most of devices doesn't send second byte that fast.

recv_data is cleared when calling ibmpc_host_send() you will have to
retain the data yourself before calling it. Or you have to make sure
that recv_data is empty as possible before calling the function.

Alternatively, ibmpc_host_send() can be changed to check if recv_data is
empty before seding command.
2021-06-22 00:33:40 +09:00
tmk
4ed3e40fc0 lufa: Boot support for mouse extended report #692 2021-06-22 00:02:16 +09:00
Ethan Halsall
9b77bf9295 lufa: Update mouse descriptor for 16 bit #692
Squashed commit from: https://github.com/tmk/tmk_keyboard/pull/692
2021-06-22 00:02:16 +09:00
Ethan Halsall
9b58ee7db0 adb_usb: Add scroll wheel emulation #692
Squashed commit from: https://github.com/tmk/tmk_keyboard/pull/692
2021-06-15 22:53:29 +09:00
tmk
44bf879285 ibmpc_usb: Update prebuilt firmware files 2021-06-03 12:06:45 +09:00
tmk
2a0471fdc4 ibmpc: Retain recv_data across host_send() 2021-06-03 01:17:48 +09:00
tmk
67d37ef7b3 ibmpc: Retry for start bit error of Z-150 AT #661
This is fix for Zenith Z-150 AT. Root cause is still
not clear but retrying works well somehow.
https://github.com/tmk/tmk_keyboard/issues/661#issuecomment-772298392

Add checking isr_state and line state before sending data
2021-06-03 01:17:48 +09:00
tmk
0a1dcacbfd ibmpc: Fix ACK check in host_send() for Z-150 AT #661
Zenith Z-150 AT doesn't seems to place ACK signaling normally.
https://github.com/tmk/tmk_keyboard/issues/661#issue-743168434
https://github.com/tmk/tmk_keyboard/wiki/IBM-PC-AT-Keyboard-Protocol#zenith-z-150-beige

IBM genuine PC host checks data line only, not clock on ACK. In this
case Z-150 AT ACK signaling can be handled.
http://www.halicery.com/Hardware/Intel%208042%20and%208048/8042_PS2_INTERN.TEXT (026C:)
http://halicery.com/8042/8042_1503033.TXT (0274:)

Place 'inhibit' on lines for long enough to cancel current state and
recovery from ERROR but not sure this really helps.
2021-06-03 01:17:48 +09:00
tmk
8381eb480f ibmpc_usb: Fix keyboard_kind for Zenith Z-150 AT 2021-06-03 01:17:10 +09:00
tmk
7d9e554a8d ibmpc_usb: Fix keyboard reset sequence
Wait 3 sec for keyboard to be settled or until keyboard sends anything

Fix for BTC-5161 AT/XT auto-select: The keyboard requires reset to
start AT mode even if it already sends AA.
https://github.com/tmk/tmk_keyboard/wiki/IBM-PC-AT-Keyboard-Protocol#btc-5161
2021-06-03 00:06:20 +09:00
tmk
64a3159391 ibmpc_usb: Add time stamp of debug print 2021-06-02 23:55:27 +09:00
tmk
ea3520be14 ibmpc_usb: Add support for 7F7F and unknown ID #687 2021-06-02 11:23:02 +09:00
tmk
bf9a686982 ibmpc_usb: Add scan code translation for 5576-002/3 2021-06-01 14:07:28 +09:00
tmk
17c2532950 ibmpc_usb: Update prebuilt firmware files 2021-05-31 23:55:33 +09:00
tmk
b13b79300a ibmpc_usb: Add Code Set 3 support for IBM 5576-001
https://github.com/tmk/tmk_keyboard/issues/685
https://github.com/tmk/tmk_keyboard/wiki/IBM-PC-AT-Keyboard-Protocol#ibm-5576-code-set-3
Make positon of keys on 5576-001 to fit 122-key layout:
0x13 -> 0x5D // JYEN
0x5C -> 0x51 // RO
0x76 -> 0x7E // Keypad '
0x7E -> 0x76 // Keypad Dup
0x85 -> 0x68 // Muhenkan -> Keypad ,
0x86 -> 0x78 // Henkan -> Keypad =
2021-05-31 23:17:23 +09:00
tmk
bb3ed2cab8 adb_usb: Update prebuilt firmware files 2021-05-30 20:47:09 +09:00
tmk
a93677cbf1 adb_usb: Fix Power key mapping for Windows 2021-02-08 16:29:42 +09:00
tmk
06d354c06b core: Fix is_tap_key() #673
System and media control keys work well with
ACTION_MODS_TAP_KEY and ACTION_LAYER_TAP_KEY now.
2021-02-08 16:28:59 +09:00
tmk
ea4baf1cb6 adb_usb: Fix for swap issue of LALT and LGUI 2021-02-08 16:27:27 +09:00
Oliver Sandli
141253e63e
English correction (#668)
See #667
2021-01-30 10:37:05 +09:00
tmk
1460fbcf1c core: Update comments in keycode.h 2021-01-24 15:44:03 +09:00
tmk
1cf7bc193e adb_usb: Update prebuilt firmware files 2021-01-24 15:43:39 +09:00
tmk
00c11ce901 adb_usb: Use EQL for keypad = instead of PEQL
PEQL is not supported on Windows #238
2021-01-24 15:28:17 +09:00
tmk
77dde8d34a pc98_usb Update README and prebuilt firmware files 2021-01-17 16:01:31 +09:00
tmk
d73bedb51a pc98_usb: Add RDY pulse in response receive #666
RDY high pulse(>=37us) is required to allow keyboard to send next data.
https://archive.org/stream/PC9800TechnicalDataBookHARDWARE1993/PC-9800TechnicalDataBook_HARDWARE1993#page/n157
2021-01-17 15:52:14 +09:00
tmk
aa8d9fe5e6 pc98_usb: Add keyboard identify support 2021-01-17 15:42:10 +09:00
tmk
c704eba1b5 pc98_usb: Add debug prints 2021-01-16 14:16:48 +09:00
tmk
0518db6895 adb_usb: Add Apple ISO key support
Scan code 2A of Apple ISO is translated to 70 and mapped to NUHS.
And rewrite UNIMAP_ADB() based on ADB scan codes.
2021-01-04 22:00:08 +09:00
tmk
bcc0a6964b adb_usb: Add scan code print 2021-01-04 15:53:21 +09:00
tmk
e7aa9e5c61 usb_usb: Update prebuilt firmware files 2020-12-24 23:22:55 +09:00
tmk
2b74203bd7 usb_usb: Update USB_Host_Shield_2.0
Fix for STALL at GET DESCRIPTOR(CONFIGURATION)
https://github.com/tmk/USB_Host_Shield_2.0/issues/4
2020-12-24 23:19:36 +09:00
tmk
193660c520 ibmpc_usb: Fix comment of scan code mapping 2020-12-21 15:35:44 +09:00
tmk
c230460b12 pc98_usb: Add prebuilt firmware files 2020-12-09 13:17:21 +09:00
tmk
48d6964438 ibmpc_usb: Update prebuilt firmware files 2020-11-22 22:01:42 +09:00
tmk
e473e8ce2f ibmpc_usb: Add info to debug print 2020-11-22 21:27:45 +09:00
tmk
7e268c8c12 ibmpc: Add adhoc fix for Z-150 AT send
This is not confirmed yet, test report is needed.
2020-11-22 21:26:54 +09:00
tmk
822a8673e7 ibmpc_usb: Add Z-150 AT support 2020-11-22 21:12:37 +09:00
tmk
e020a2233b xt_usb: Remove prebuilt firmware file 2020-11-22 04:32:23 +09:00
tmk
bb955a819a ibmpc_usb: Update prebuilt firmware files 2020-11-22 04:28:19 +09:00
tmk
6b71d88150 xt_usb: Fix Pause of Code Set1(XT) 2020-11-22 04:21:16 +09:00
tmk
acb15b4a50 ibmpc_usb: Fix Pause of Code Set1(XT)
https://geekhack.org/index.php?topic=17458.msg2980704#msg2980704
2020-11-22 04:20:47 +09:00
tmk
385ede5722 usb_usb: Update prebuilt firmware files 2020-11-07 18:12:02 +09:00
tmk
02664fe72a core: Fix TAP_KEY(CapsLock) for MacOS #659 2020-11-07 17:18:18 +09:00