Commit graph

224 commits

Author SHA1 Message Date
tmk
b2edf39094 ibmpc: Remove unused error code 2023-06-10 18:15:45 +09:00
tmk
0090098141 lufa: Fix system/consumer report in Boot mouse
Cannot send system/consumer report while mouse is set
in boot protocol. Mouse, system and consumer report shares
one interface using different report IDs. In boot protocol
only mouse can report without report ID. If a report ID is
sent while in boot protocol it will be recognized as mosue
button state incorrectly by host.

A user reported that Mac ejects disc drive at startup when
using NeXT converter. Keeping mouse button pressed while
bootup forces Mac to eject disc.
2023-03-05 22:11:18 +09:00
tmk
e7aa03c8ab lufa: Fix debug messages 2023-02-27 13:12:20 +09:00
tmk
b3d2f64bb3 lufa: Fix condition for atmega32u2
the condition didn't work when variable MCU includes comment like:
    MCU ?= atmega32u2       # TMK converter
https://github.com/tmk/tmk_keyboard/issues/753

This affects RemoteWakeup on atmega32u2:
https://github.com/tmk/tmk_keyboard/issues/361
2023-02-26 22:35:09 +09:00
tmk
d51023bc8b ibmpc: Fix XT startup fail #751
SIEMENS_PCD_SUPPORT #747 code should be applied only for AT.
The code inhibits AT keyboard from sending by pulling clock line
down, this made XT keyboard support messed.
2023-02-17 09:12:57 +09:00
tmk
1852af2d76 usb_hid: Ducky One 2 Mini support #697 2023-02-01 09:50:56 +09:00
tmk
2dd9483383 m0110: Attempt international layout support 2023-01-30 12:03:09 +09:00
tmk
dc039fdf1a usb_hid: Update UHS2 for Apple Magic Keyboard(A1644/A1843) 2023-01-24 08:23:25 +09:00
tmk
cdf4bfc3ae usb_usb: Fix for Apple Magic Keyboard(A1644/A1843)
The device has keyboard function at interface 1, not 0. #606
2023-01-22 18:05:10 +09:00
tmk
d3fdaceb51 usb_usb: Update USB_Host_Shield_2.0-tmk
- hidboot SET_PROTOCOL/SET_IDLE fix #738
- merge upstream
2022-10-21 15:32:53 +09:00
tmk
52cdb909c9 ibmpc: siemens: Add inhibit after send/recv #747
SIEMENS PCD 2 Keyboard seems to require "inhibit" for a while after
sending and receiving session, for some reason.
A computer that can work with the keyboard adds "inhibit" after
communications, and this appears to be remedy for the keyboard.
https://github.com/tmk/tmk_keyboard/issues/747
2022-08-25 09:47:52 +09:00
tmk
4d32fbadb6 core: Increase buffer size for sotware serial
- serial_mouse can lost mouse data when enabling debug print
- TODO: serial_soft blocks in ISR for too long time
2022-06-03 23:35:23 +09:00
tmk
3531ea81af adb: Remove unused definitions 2022-05-30 17:20:07 +09:00
tmk
d8991ce621 adb: Add wait after listen and talk
to make clear between stop bit and next attention
2022-05-30 17:20:07 +09:00
tmk
894f6b2ae5 adb: Fix comment of SRQ(Service Request) 2022-05-30 17:20:07 +09:00
tmk
2dc680b760 usb_usb: Update USB_Host_Shield_2.0-tmk
- SET_PROTOCOL can fail on some devices #738
2022-05-05 14:25:53 +09:00
tmk
083a008b66 adb: Fix for set LED
ADB Manager documents p.5-28
> Register 2 contains sixteen bits; be sure to change only the three bits
> that represent the three LED lights.
https://developer.apple.com/library/archive/documentation/mac/pdf/Devices/ADB_Manager.pdf

iMate reads register2 before setting LED state for this.
https://github.com/tmk/tmk_keyboard/wiki/Apple-Desktop-Bus#set-led
2022-04-25 18:05:13 +09:00
tmk
f1f32a743f adb: Detection of Service Request(SRQ) 2022-04-24 19:02:35 +09:00
tmk
dcebfb4fc4 next: Fix NeXT keyboard signal timing #704
NeXT keyboard uses 52.75us per pulse.
https://github.com/tmk/tmk_keyboard/issues/704
https://github.com/tmk/tmk_keyboard/wiki/NeXT
2022-04-15 01:56:28 +09:00
tmk
011fb9e731 adb_usb: Add Logitech Extended mouse support 2022-04-11 21:38:57 +09:00
tmk
2141d742ca adb_usb: Add Mouse Systems A3 support 2022-04-11 21:21:44 +09:00
tmk
2080d391a7 adb_usb: Add Microspeed/Contour/CH Products support 2022-04-11 21:21:44 +09:00
tmk
64de561818 adb_usb: Add Logitech Mouseman/Trackman support 2022-04-11 21:21:44 +09:00
tmk
cf26ad4ae1 adb_usb: Add Macally2 support
adb_usb: Fix Macally2 signed integer
adb_usb: Keep `mouse_handler' until other shows up
https://elixir.bootlin.com/linux/v5.17/source/drivers/macintosh/adbhid.c#L1068
https://geekhack.org/index.php?topic=14290.msg3116799#msg3116799
2022-04-11 19:26:13 +09:00
tmk
b690da7611 lufa: Revert console endpoint size to 32
Original prebuilt binary hid_listen for Windows doesn't work
with 64-byte size console endpoint.
Linux and MacOS hid_listen work well.
2022-03-31 12:38:00 +09:00
tmk
d29213ff3d lufa: Fix startup wait when console is disabled 2022-02-25 06:50:19 +09:00
tmk
85b69a7eab serial_uart: Make RBUF_SIZE cutomizable
Default size 256 bytes may be too much in many cases
2022-02-14 17:29:17 +09:00
tmk
b3b2e23584 lufa: Change wait for USB startup 2022-02-11 16:12:17 +09:00
tmk
d74ba8f173 lufa: Use 64B and double bank for console endpoint 2022-02-11 16:12:17 +09:00
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