Commit graph

1812 commits

Author SHA1 Message Date
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
tmk
8b194db75d next_usb: Update prebuilt firmware file 2022-04-17 08:54:20 +09:00
tmk
974c7887f4 next_usb: Update README 2022-04-17 08:33:57 +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
12cd162015 adb_usb Update prebuilt firmware files
- Disable mouse scroll wheel emulation by default
- Disable mouse acceleration by default
- Disable 16-bit USB HID mouse report by default
- 2-button mouse should work as it works on Mac OS9/OSX now.

Mouse supports:
Confirmed:
- Kensington Turbo Mouse 5
- Kensington Thinking Mouse
- Macally 2-button Mouse
- Logitech TrackMan/MouseMan(Prorietary)
- Logitech TrackMan/MouseMan(Extended)
- Contour Design Countour Mouse

Not confirmed yet:
- Microspeed MacTrac
- Mouse Systems A3 Mouse/Trackball
- CH Products Trackball Pro/DT225
2022-04-13 10:04:06 +09:00
tmk
8cc3905122 Merge branch 'adb_mouse_driver_release' 2022-04-13 09:44:45 +09:00
tmk
0a27e77fba adb_usb: Update README 2022-04-13 09:21:11 +09:00
tmk
d3807f41b9 adb_usb: Disable scroll wheel emulation
Just send plain mouse button event to
use mouse configuration utility on computer
2022-04-11 23:10:56 +09:00
tmk
ae183105bb adb_usb: Disable 16-bit extended USB mouse report
16-bit extended report is not required in most devices.
Turbo Mouse 5 even uses range limited -126 to 126 for XY
2022-04-11 23:04:36 +09:00
tmk
13d57308be adb_usb: Disable mouse acceleration
current mouse acceleration doesn't appear proper.
2022-04-11 23:02:46 +09:00
tmk
0c25a46dc8 adb_usb: Fix for weirdness of 2-button mouses #724
This ignores 'optional second button' in Apple Classic Mouse protocol
as Mac OS9 and OSX does. This is needed and useful in most cases.
NeXT ADB Mouse is an exception, this disables its right button.
You can disable this using `ADB_MOUSE_2ND_BUTTON_QUIRK` in config.h.
2022-04-11 22:18:01 +09:00
tmk
3a6fe4069d adb_usb: Fix Apple Classic/Extended Mouse support 2022-04-11 21:42:11 +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
eb2af86028 ibmpc_usb: Fix message about 5576/Televideo 2022-03-02 17:40:10 +09:00
tmk
d29213ff3d lufa: Fix startup wait when console is disabled 2022-02-25 06:50:19 +09:00
tmk
53aecf4dfb Update README 2022-02-20 21:07:35 +09:00
tmk
4ffa771f0f pc98: Fix glitch and reset signal
- Change order of setting PORT and DDR to prevent glitch
- RST pin cannot be controlled after USART starts
2022-02-14 17:32:38 +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
57c3f4a63c ibmpc_usb: Intellimouse fix #716 2022-02-02 00:45:46 +09:00
tmk
aa63f1c3cb ibmpc_usb: Update prebuilt firmware files 2022-01-18 13:07:52 +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