Commit graph

392 commits

Author SHA1 Message Date
tmk
45c7057b3b core: Fix BTLD action for tap key 2023-03-02 09:52:41 +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
360872d269 core: Build option for LTO(Link Time Optimization)
This makes firmware size small but need to be tested more.
https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#Optimize-Options
https://github.com/arduino/Arduino/issues/660
https://github.com/arduino/ArduinoCore-avr/blob/master/platform.txt

* No `-fno-fat-lto-objects` is needed, it is the default.
https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-ffat-lto-objects
* No `-fuse-linker-plugin` is needed, it is the default.
https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-fuse-linker-plugin
2022-05-31 13:30:44 +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
059a330a29 core: Add JPY to unimap position code 2022-04-25 22:37:52 +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
b46e3ff09e core: Fix EXTRALDFLAGS 2022-02-02 18:32:40 +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
6795e8fc0e core: Add keycode MACE and MACJ for macOS
Mac key 英数(eisuu) and かな(kana) send usage LANG2(0x91) and  LANG1(0x90)
respectively, and macOS uses them for English-Japanese input switching.
This gives the usages aliase as MACE and MACJ.
https://github.com/tmk/tmk_keyboard/wiki/FAQ-Keymap#japanese-jis-keys
2022-01-10 14:53:11 +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
cf8712fda7 core: Add EXTRA{C|CPP|AS}FLAGS in rule.mk 2021-07-20 22:48:01 +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