Commit graph

60 commits

Author SHA1 Message Date
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
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
694b1070aa adb_usb: Add JIS layout support 2022-04-25 22:37:53 +09:00
tmk
9643a76b8e adb_usb: Remove mouse acceleration 2022-04-25 22:26:21 +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
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
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
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
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
0de65d999d adb_usb: Fix minor bug for Turbo Mouse again 2021-11-16 10:21:34 +09:00
tmk
a76a3ee914 adb_usb: Fix minor bug for Turbo Mouse
checksum calc failed second time because cmd array was declared as static
pre-calculated checksum is given now
2021-11-15 09:46:39 +09:00
tmk
2d02027158 adb_usb: Fix mouse_init to remove retry loop 2021-11-15 09:24:03 +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
fbfb6748ff adb_usb: Update Kensington Turbo Mouse configuration 2021-06-22 11:47:33 +09:00
tmk
d301870717 adb_usb: Reset devices on startup
This restores devices to default state on warm startup like flashing firmware
2021-06-22 11:46:50 +09:00
tmk
82a562bd81 adb_usb: Add mouse extended report support 2021-06-22 01:44:37 +09:00
Ethan Halsall
9b58ee7db0 adb_usb: Add scroll wheel emulation #692
Squashed commit from: https://github.com/tmk/tmk_keyboard/pull/692
2021-06-15 22:53:29 +09:00
tmk
0518db6895 adb_usb: Add Apple ISO key support
Scan code 2A of Apple ISO is translated to 70 and mapped to NUHS.
And rewrite UNIMAP_ADB() based on ADB scan codes.
2021-01-04 22:00:08 +09:00
tmk
bcc0a6964b adb_usb: Add scan code print 2021-01-04 15:53:21 +09:00
tmk
ce5e565f58 adb_usb: Fix start up delay for AEK/AEKII
Without proper delay keyboard the converter starts talking too early
before keyboard wakes up. ISO recognition and enabling Extention protocol
would be failed in the result.
https://github.com/tmk/tmk_keyboard/issues/640#issuecomment-585411393
200ms is enough for AEKs but 1000ms is used here for safety.
2020-02-13 08:49:09 +09:00
tmk
a4abe50f18 adb_usb: Fix mouse init and debug print 2020-02-09 20:47:04 +09:00
tmk
f19780d4ad adb_usb: Fix for Macally ADB keyboard
- The odd keyboard sends key0 and key1 inversely for no reason.
  https://deskthority.net/workshop-f7/macally-mk96-t20116.html
2019-06-24 16:11:36 +09:00
tmk
0fec847611 adb_usb: Remove unnecessary waits 2019-06-23 15:04:35 +09:00
tmk
66e97371ba adb_usb: Fix mouse_init 2019-06-23 15:04:35 +09:00
tmk
35da7a8d70 adb_usb: Change mouse acceleration according to cpi 2019-06-23 15:04:35 +09:00
tmk
814eaa2dff core:adb_usb: Add Extended Mouse Protocol support #274
Also add Kensington Turbo Mouse 5 specific initialization
2019-06-23 15:04:35 +09:00
tmk
daf1ef1db2 adb_usb: Clean repository 2019-06-23 15:04:35 +09:00
tmk
961f0aab97 adb_usb: Add debug print for handler_id 2018-04-17 10:55:29 +09:00
tmk
d00d7e8afa adb_usb: Fix #518 Lag on typing 2018-01-19 10:15:26 +09:00
Louis Rousseau
cccd4186f4 adb_usb/matrix.c : changed size of handler_id from uint16_t to uint8_t 2016-12-19 01:51:11 -05:00
tmk
af667a0550 adb_usb: set_led at startup 2016-12-10 14:50:20 +09:00
tmk
1ad31539a6 Fix matrix.c to use new default impl. 2016-10-08 13:14:06 +09:00
tmk
b653b622a6 adb_usb: Add support for Apple Adjustable keybaord media keys 2016-06-04 19:31:44 +09:00
tmk
4d9e66baec adb_usb: Fix swap ISO codes bug 2016-05-25 10:25:32 +09:00
tmk
4fc0efd3ab adb_usb: reinitialize for plug-in after startup 2016-05-20 03:30:46 +09:00
tmk
49f44a2aed adb_usb: autodetect ISO keyboards and swap codes 2016-05-19 16:26:01 +09:00
tmk
c219570e54 adb_usb: Add LED flash on startup 2016-01-08 10:39:23 +09:00
Mekaniserad Apelsin
7780fd1c01 Add mouse support to ADB
Adding the makefile options ADB_MOUSE_ENABLE and ADB_MOUSE_ACCMAX.
Might have gone overboard with comments, and tried but failed at not
adding more than necessary outside the converter/adb_usb/ folder.
2015-04-26 08:57:00 +02:00
Shay Green
263c462656 Fixed handling of ADB event with key down and key up for same key all in one 2013-11-26 15:21:43 -06:00