Commit graph

48 commits

Author SHA1 Message Date
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
tmk
c531a185a4 Disable BOOTMAGIC and fix debug prints of adb_usb 2013-11-08 04:37:09 +09:00
tmk
c18c52f551 Merge blargg's fix into adb.c
- <http://geekhack.org/index.php?topic=14290.msg1075201#msg1075201>
2013-10-14 23:37:05 +09:00
tmk
86082f90fa Change ADB scan delay 12ms 2013-10-09 12:20:03 +09:00
tmk
e8e8f93bcf Fix ADB missing keystrokes problem Thanks, blargg! #14
- Add delay between scans to prevent overlaod of ADB keyboard controllers
- <http://geekhack.org/index.php?topic=14290.msg1068919#msg1068919>
2013-10-08 12:23:25 +09:00
tmk
cb434cfebc Remove clear matrix on ADB recv error 2013-10-04 15:03:42 +09:00
tmk
9e39b222d0 Add new build options to adb_usb 2013-04-09 14:27:29 +09:00
tmk
c4ab832be0 Fix Locking CapsLock support in ADB converter 2013-03-12 12:10:12 +09:00
tmk
d8ce19abd0 To prevent key stuck clear matrix array when ADB error occurs. 2012-09-20 12:52:45 +09:00
tmk
76033dcd89 Add a keymap layer into ADB converter. 2012-06-18 12:23:17 +09:00
tmk
afb0846208 Made directories for keyboard and converter projects. 2012-06-08 13:32:38 +09:00
Renamed from adb_usb/matrix.c (Browse further)