tmk
93274fac63
ibmpc: Remove inline of isr() to save space
2022-02-07 22:17:18 +09:00
tmk
4b42f5c1b7
ibmpc: Remove PROTOCOL_XT_ERROR
...
This isn't needed as long as data line is read in proper timing.
Current ibmpc ISR has seemed to work well for reading data line so far.
2022-02-07 19:42:20 +09:00
tmk
7fd2c6a666
ibmpc: Remove old unused files
2022-02-02 18:31:38 +09:00
tmk
159cc235c6
ibmpc: Fix isr_debug for host_send
2022-01-18 09:55:04 +09:00
tmk
c78992790e
ibmpc: Increase timeout limit
...
This keyboard has very slow clocking like 3ms per code.
https://geekhack.org/index.php?topic=115479.msg3101326#msg3101326
2022-01-10 14:05:18 +09:00
tmk
d0cddedcdc
adb_usb: Initialize keyboard dynamically #671
...
Extended and ISO keyboard are properly setup even after hot-plug
2021-11-17 23:49:12 +09:00
tmk
5f7d388dee
core: Mouse buttons state integration #101
...
This allows users to use mousekey buttons with PS/2, ADB or
Serial pointing device.
2021-11-14 01:56:15 +09:00
tmk
96e722ed77
ibmpc: Return host_send when receiving
...
- To avoid missing key stroke during command sending
- LED lock indicators can be out of sync due to this
2021-10-27 02:05:34 +09:00
tmk
c010a9c3ee
ibmpc: Refactor code for Z-150 AT
2021-10-27 00:56:16 +09:00
tmk
eea8b36f0d
ibmpc: Parity error detection
...
Used for Auto-Switching support: tested with Copam K-430
2021-10-25 15:34:58 +09:00
tmk
ed7dfa140a
lufa: Remove OUT endpoint of debug console
...
- OUT ep has not been used. No support for input from host.
- Debug console uses only IN ep to display debug prints.
2021-10-23 23:55:44 +09:00
tmk
83e2086ccf
usb_usb: Update USB_Host_Shield_2.0
...
e37ed6c 500ms delay for bus reset instead of 20ms
1d70229 Improve plugin detection in busprobe()
2021-10-23 22:42:01 +09:00
tmk
44ee4f3fcd
usb_desc_dump: build form arduino ino file
2021-07-20 22:53:34 +09:00
tmk
ece5941e22
usb_hid: Fix for override of Serial.write
2021-07-20 22:48:01 +09:00
tmk
4964617a31
core: NO_KEYBOARD build option
...
disables USB keyboard interface
2021-07-20 22:48:01 +09:00
tmk
86b4d082d9
core: Add version string
2021-07-16 11:34:00 +09:00
tmk
eb3d3b4c29
lufa: Fix mouse Get/SetProtocol
2021-07-14 23:40:22 +09:00
tmk
15ca74c8ad
lufa: Fix system control
2021-07-14 23:39:10 +09:00
tmk
7438f7baab
ibmpc: ringbuf optimization for c
2021-07-07 23:13:15 +09:00
tmk
369b5cb21e
ibmpc: ringbuf optimization for cpp
2021-07-07 23:13:03 +09:00
tmk
bff5cff1f2
ibmpc: ISR optimization
2021-07-06 23:24:59 +09:00
tmk
848cac6eb2
ibmpc: busy wait only first time
...
This is not tested well yet
2021-07-06 23:24:59 +09:00
tmk
f4f47aaee7
ibmpc: C++ class for two-interface support
2021-07-06 23:24:59 +09:00
tmk
106a18caf6
lufa: Add Boot protocol support for mouse
2021-06-29 20:36:59 +09:00
tmk
5948ea0ac6
lufa: Integrate EXTRAKEY into MOUSE interface
2021-06-29 20:36:59 +09:00
tmk
d5bdc55b17
lufa: Integrate NKRO into infterface 0
...
Build options for Keyboard:
NKRO_ENABLE - NKRO shares interface 0 with Boot/6KRO
this can save Endpoint resources of MCU
NKRO_6KRO_ENABLE - NKRO has its own interface
this is equivalent to old NKRO impl.
Otherwise - Boot/6KRO interface 0 only
2021-06-29 20:31:44 +09:00
tmk
a532b426c4
adb: Add reset() and reset_hard()
2021-06-22 11:46:50 +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
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
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
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
97782dd59e
usb_hid: Update and fix USB Host Shield lib
...
- Fix TOGGLE Error
- Fix HUBPRE
- Update from upstream repo
2020-11-06 00:22:10 +09:00
tmk
d7548097fc
usb_hid: Update arduino cores to 1.8.13
2020-11-06 00:19:34 +09:00
tmk
78e05bd172
usb_hid: Delete arduino cores 1.0.1
2020-11-06 00:18:47 +09:00
tmk
842b3f29b6
ibmpc: Fix XT reset comment and add inhibit_xt()
2020-10-27 02:33:33 +09:00
tmk
12e5a3a13e
xt_usb: Fix XT soft reset
...
Data line should be hi while Clock line is low
https://github.com/tmk/tmk_keyboard/wiki/IBM-PC-XT-Keyboard-Protocol#keyboard-soft-reset
2020-10-27 02:15:42 +09:00
tmk
6271878a02
vusb: Fix keyboard_protocol and keyboard_idle #547
2020-07-27 10:02:38 +09:00
tmk
12eaedf9cf
ibmpc: Change timeout period: 1.0ms to 2.0ms
...
Timeout error *could*(not always) detects when signal sequence takes beyond 1.0ms.
Now this gives 2.0ms window at least to read signal sequence.
2020-07-05 12:46:47 +09:00
tmk
f80601db96
ibmpc: Add Z-150 AT protocol recognition
...
https://github.com/tmk/tmk_keyboard/wiki/IBM-PC-AT-Keyboard-Protocol#zenith-z-150-beige
2020-05-15 14:32:14 +09:00
tmk
343c32afc6
ibmpc: Fix 'Ack' check of sending data
2020-05-13 23:12:50 +09:00
tmk
54e3c239fc
ibmpc: Fix AT 'request to send' signaling
...
Without this fix Realforce 101 PS/2 fails to receive 'set indicator'
command sometimes when pressing Caps Lock and some keys simultaneously.
before fix:
____ ______
clock \___/
________
data \_______
| 100|
after fix:
____ __
clock \________/
________
data \_______
| 100| 100|
2020-05-13 22:32:14 +09:00
tmk
c6a6049bc8
ibmpc_usb: Add 'protocol change detection'
...
for better keybaord hotswap support
2020-05-13 14:47:18 +09:00
tmk
346169c5ed
ibmpc: Fix ibmpc_host_isr_clear()
2020-05-12 18:51:39 +09:00
tmk
3e801a63e4
ibmpc: Add debug code for isr_state
2020-05-12 18:50:21 +09:00