You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This firmware converts Apple ADB keyboard protocol to USB, you can use it to plug old ADB keyboard into modern computer. It works on TMK ADB-USB Converter, PJRC Teensy2.0 and other USB AVR MCU(ATMega32U4, AT90USB64/128 or etc) and needs more than 10KB flash at least.
3
+
This firmware converts Apple ADB keyboard/mouse protocol to USB, you can use it to plug old ADB keyboard/mouse into modern computer. It works on prebuilt TMK ADB-USB Converter or generic dev board with USB AVR MCU(ATMega32U4/2) like Teensy2.0.
@@ -58,59 +60,60 @@ Build firmware and Program microcontroller
58
60
------------------------------------------
59
61
See [doc/build.md](../../tmk_core/doc/build.md).
60
62
61
-
To build firmware and program TMK Converter run these commands:
63
+
To build firmware and program TMK ADB-USB Converter run these commands:
62
64
63
65
$ make -f Makefile clean
64
-
$ make -f Makefile [KEYMAP=(plain|ansi|iso|hasu)]
65
-
$ make -f Makefile [KEYMAP=(plain|ansi|iso|hasu)] dfu
66
+
$ make -f Makefile [KEYMAP=yourname]
67
+
$ make -f Makefile [KEYMAP=yourname] dfu
66
68
67
-
You can select keymap with optional `KEYMAP=` (plain is default). Push button on the converter before running `dfu` target.
69
+
You can select keymap name with optional `KEYMAP=` ('plain' is default name). Push button on the converter before running `dfu` target.
68
70
69
-
Use **Makefile.rev1** for old TMK Converter rev.1 and **Makefile.teensy** for Teensy2.0 instead of **Makefile**. For TMK Converter rev.2 just use **Makefile**.
70
-
71
-
To program Teensy you can use `teensy` target:
72
-
73
-
$ make -f Makefile.teensy [KEYMAP=(plain|ansi|iso|hasu)] teensy
71
+
Use **Makefile.rev1** for old TMK Converter rev.1 and Teensy2.0 instead of **Makefile**.
74
72
75
73
76
74
77
75
Keymap
78
76
------
79
-
You can change a keymap by editing code of keymap_[plain|ansi|iso|hasu|yours].c.
77
+
You can change keymap by editing code of unimap_plain.c directly, or copy it to your own keymap file like unimap_yourname.c and edit the file.
80
78
How to define the keymap is probably obvious. You can find key symbols in common/keycode.h. And see [doc/keymap.md](../../tmk_core/doc/keymap.md) for more detail.
81
79
82
80
83
81
Magic command
84
82
-------------
85
-
To get help press `h` holding Magic key. Magic key is `Power key`.
83
+
To get help message in hid_listen press `h` holding Magic key. Magic key is `Power key`.
84
+
85
+
https://github.com/tmk/tmk_keyboard/wiki#debug
86
86
87
87
88
88
Locking CapsLock
89
89
----------------
90
-
Many of old ADB keyboards have mechanical push-lock switch for Capslock key and this converter supports the locking Capslock key by default. See README in top directory for more detail about this feature.
90
+
Many of old ADB keyboards have mechanical push-lock switch for Capslock key and this converter supports the locking Capslock key by default. Use keycode `LCAP` instead of `CAPS` in your keymap in short. See README in top directory for more detail.
Also you may want to remove locking pin from the push-lock switch to use capslock as a normal momentary switch.
93
+
If you want to remap Capslock key you will have to remove locking pin or just replace with normal momentary switch. Some keyboards like Apple Adujstable keyboard use firmware-base locking with momentary switch for Capslock and remapping it won't be useful in most cases.
94
94
95
95
96
-
Mouse support
97
-
-------------
98
-
ADB mouse support was added by @mek-apelsin on Apr,2015. It supports only one button as of now.
99
-
https://github.com/tmk/tmk_keyboard/pull/207
100
-
101
-
102
-
Notes
103
-
-----
96
+
Notes for keyboard
97
+
------------------
104
98
Not-extended ADB keyboards have no discrimination between right modifier and left one,
105
99
you will always see left control even if you press right control key.
106
100
Apple Extended Keyboard and Apple Extended Keyboard II can discriminate both side
107
101
modifiers except for GUI key(Windows/Command).
108
102
109
-
And most ADB keyboard has no diodes in its matrix so they are not NKRO,
110
-
though ADB protocol itself supports it. See protocol/adb.c for more info.
103
+
And most of ADB keyboards have no diodes in its matrix so they are not NKRO unfortunately,
104
+
though ADB protocol itself supports it. See tmk_core/protocol/adb.c for more info.
105
+
106
+
107
+
Notes for mouse
108
+
---------------
109
+
ADB mouse support was added by @mek-apelsin on Apr,2015.
110
+
https://github.com/tmk/tmk_keyboard/pull/207
111
+
112
+
All one-button mouses should be supported.
111
113
112
-
If keyboard has ISO layout you may have swapped keys problem, see this for the detail.
114
+
As of 2019 June, the converter can handle multi-button mice and trackball up to eight buttons if the pointing device supports Apple Extended Mouse protocol. But some devices use their own specific protocol unfortunately and they will work as one-button mouse unless device specific code is added.
113
115
114
-
https://github.com/tmk/tmk_keyboard/issues/35
116
+
Kensington Turbo Mouse 5(#64210) is supported now.
0 commit comments