Commit graph

1794 commits

Author SHA1 Message Date
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
43bcf35375 ibmpc_usb: Update prebuilt firmware files 2022-09-08 11:32:26 +09:00
tmk
60b648a386 ibmpc_usb: Enable Magic commands again
There are Soarer compatible converters without Reset button
like Orihalcon's. Without Magic commands those converters
couldn't start into booloader mode in the end.
https://geekhack.org/index.php?topic=103648.msg3139810#msg3139810
2022-09-08 11:25:45 +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
dfe1143812 ibmpc_usb: Update prebuilt firmware files 2022-07-22 12:38:29 +09:00
tmk
56e88e8bb6 ibmpc_usb: 5576-002 Keypad , fix
https://github.com/tmk/tmk_keyboard/issues/688#issuecomment-1191052388
2022-07-21 21:18:00 +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
af424396e1 serial_mouse: Fix software serial config 2022-06-03 23:15:32 +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
0e1aeaa2cb serial_mouse: Add initial files 2022-05-31 13:15:25 +09:00
tmk
4923f09377 Merge branch 'adb_address_resolution' 2022-05-30 20:48:08 +09:00
tmk
c7282aae4f adb_usb: Update prebuilt firmware files 2022-05-30 19:40:41 +09:00
tmk
c46d7baa76 adb_usb: Fix comment 2022-05-30 17:20:07 +09:00
tmk
047be5c900 adb_usb: Fix debug print 2022-05-30 17:20:07 +09:00
tmk
3531ea81af adb: Remove unused definitions 2022-05-30 17:20:07 +09:00
tmk
f9be56695b adb_usb: Update table for unplugged device 2022-05-30 17:20:07 +09:00
tmk
442d05bebb adb_usb: Move deivce to higher address 2022-05-30 17:20:07 +09:00
tmk
4a22b732ae adb_usb: Check PSW pin at polling rate for debounce 2022-05-30 17:20:07 +09:00
tmk
3d6e5cd570 adb_usb: Poll R0 of unsupported device 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
ea36eeebda adb_usb: Remove startup wait
It detects device dynamically with address resolution now, the wait
should not be needed.
2022-05-30 17:20:07 +09:00
tmk
1070cea940 adb_usb: Clean code 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
ca1af1a03f adb_usb: Fix Address Resolution timing
- when there is no data transfer for 1000 ms
2022-05-30 17:20:07 +09:00
tmk
15b401a8f2 adb_usb: PSW pin support #735 2022-05-30 17:20:07 +09:00
tmk
781e2dfce9 adb_usb: Address resolution 2022-05-30 17:20:04 +09:00
tmk
27e6c8d6e0 ibmpc_usb: Update prebuilt firmware files 2022-05-29 00:10:13 +09:00
tmk
27178e9569 ibmpc_usb: Fix error handling #718
Error was not recovered properly when it happens before entering to LOOP state
2022-05-29 00:07:08 +09:00
tmk
29d59610e1 adb_usb: Update prebuilt firmware files
- Add support for JIS keyboard
2022-05-05 18:01:08 +09:00
tmk
755c6c90a5 adb_usb: Fix unimap for JIS 2022-05-05 17:51:24 +09:00
tmk
9527d8e488 Merge branch 'usb_usb_set_protocol_fix' 2022-05-05 14:31:18 +09:00
tmk
5f58dc4955 usb_usb: Update prebuilt firmware files 2022-05-05 14:29:52 +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
6a57412d21 Merge branch 'adb_kbd_jp_fix' 2022-05-04 23:46:42 +09:00
tmk
ce2d9b739a adb_usb: Fix scan code for T and Y 2022-04-26 12:27:14 +09:00
tmk
694b1070aa adb_usb: Add JIS layout support 2022-04-25 22:37:53 +09:00
tmk
6ef4a03087 adb_usb: Remove excess keymap layer 2022-04-25 22:37:52 +09:00
tmk
2a92acdd2b adb_usb: Add support for JIS keys 2022-04-25 22:37:52 +09:00
tmk
059a330a29 core: Add JPY to unimap position code 2022-04-25 22:37:52 +09:00
tmk
9643a76b8e adb_usb: Remove mouse acceleration 2022-04-25 22:26:21 +09:00
tmk
2ccdf7f6ff adb_usb: Update prebuilt firmware files
- Fix for dumb devices(keypad) #733
- PSW support for NeXT keyboard #735
- Service Request(SRQ) support
- Change adb_host_kbd_led()
- Scan unsuppoted devices by SRQ
2022-04-25 20:09:09 +09:00
tmk
538a241ddc adb_usb: Add PSW pin support #735
NeXT ADB keyboard Power key doesn't send scan code and only asserts PSW.
2022-04-25 20:07:46 +09:00
tmk
da230d3896 adb_usb: Scan unsupported devices with Reg0 by SRQ 2022-04-25 18:18:17 +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
0b3ee443ec adb_usb: Clean mouse setup code 2022-04-24 19:27:40 +09:00
tmk
373706875e adb_usb: Clean keyboard setup code 2022-04-24 19:27:40 +09:00
tmk
1d3e9a2e59 Merge branch 'adb_keypad_fix' 2022-04-24 19:06:37 +09:00
tmk
c3e86bd75c adb_usb: Fix for devices that can't change address
Poll default address when Service Request is asserted
https://github.com/tmk/tmk_keyboard/issues/733
2022-04-24 19:02:54 +09:00
tmk
f1f32a743f adb: Detection of Service Request(SRQ) 2022-04-24 19:02:35 +09:00
tmk
732dfbb3ed Merge branch 'next_timing' 2022-04-17 08:55:20 +09:00