aboutsummaryrefslogtreecommitdiff
path: root/converter/adb_usb/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'converter/adb_usb/README.md')
-rw-r--r--converter/adb_usb/README.md38
1 files changed, 28 insertions, 10 deletions
diff --git a/converter/adb_usb/README.md b/converter/adb_usb/README.md
index d9efbfab2..defc477e2 100644
--- a/converter/adb_usb/README.md
+++ b/converter/adb_usb/README.md
@@ -7,17 +7,29 @@ But binary size is about 10KB or more it doesn't fit into 8K flash like ATMega8U
7Discuss: http://geekhack.org/showwiki.php?title=Island:14290 7Discuss: http://geekhack.org/showwiki.php?title=Island:14290
8 8
9 9
10Build 10Wiring
11----- 11------
120. Connect ADB keyboard to Teensy by 3 lines(Vcc, GND, Data). By default Data line uses port D0. 120. Connect ADB keyboard to Teensy by 3 lines(Vcc, GND, Data). By default Data line uses port PD0.
13 This converter uses AVR's internal pull-up, but it seems to be too weak, in particular when you want to use a long or coiled cable. 13 This converter uses AVR's internal pull-up, but it seems to be too weak, in particular when you want to use a long or coiled cable.
14 The external pull-up resistor(1K-10K Ohm) on Data is strongly recommended. 14 The external pull-up resistor(1K-10K Ohm) on Data is strongly recommended.
151. Define following macros for ADB connection in config.h if you use other than port D0. 151. Define following macros for ADB connection in config.h if you use other than port PD0.
16 ADB_PORT, ADB_PIN, ADB_DDR, ADB_DATA_BIT 16 ADB_PORT, ADB_PIN, ADB_DDR, ADB_DATA_BIT
172. make 172. make
183. program Teensy 183. program Teensy
19 19
20 20
21Build
22-----
23Just make
24
25 $ make clean
26 $ make
27
28If your keyboard is ISO layout
29
30 $ make KEYMAP=iso
31
32
21LOCKING CAPSLOCK 33LOCKING CAPSLOCK
22---------------- 34----------------
23Many 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. 35Many 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.
@@ -48,7 +60,7 @@ effort at this time.
48 * |-----------------------------------------------------------| ,---. |---------------| 60 * |-----------------------------------------------------------| ,---. |---------------|
49 * |Shift | Z| X| C| V| B| N| M| ,| ,| /|Shift | |Up | | 1| 2| 3| | 61 * |Shift | Z| X| C| V| B| N| M| ,| ,| /|Shift | |Up | | 1| 2| 3| |
50 * |-----------------------------------------------------------| ,-----------. |-----------|Ent| 62 * |-----------------------------------------------------------| ,-----------. |-----------|Ent|
51 * |Ctrl |Gui |Alt | Space | | | | |Lef|Dow|Rig| | 0| .| | 63 * |Ctrl |Alt |Gui | Space |Gui |Alt |Ctrl | |Lef|Dow|Rig| | 0| .| |
52 * `-----------------------------------------------------------' `-----------' `---------------' 64 * `-----------------------------------------------------------' `-----------' `---------------'
53 */ 65 */
54 KEYMAP( 66 KEYMAP(
@@ -68,11 +80,17 @@ To get help press `h` holding Magic key. Magic key is `Power key`.
68 80
69Notes 81Notes
70----- 82-----
71Many ADB keyboards has no discrimination between right modifier and left one, 83Not-extended ADB keyboards have no discrimination between right modifier and left one,
72you will always see left control even if you press right control key. 84you will always see left control even if you press right control key.
73Apple Extended Keyboard and Apple Extended Keyboard II are the examples. 85Apple Extended Keyboard and Apple Extended Keyboard II can discriminate both side
74Though ADB protocol itself has the ability of distinction between right and left. 86modifiers except for GUI key(Windows/Command).
75And most ADB keyboard has no NKRO functionality, though ADB protocol itself has that. 87
76See protocol/adb.c for more info. 88And most ADB keyboard has no diodes in its matrix so they are not NKRO,
89though ADB protocol itself supports it. See protocol/adb.c for more info.
90
91If keyobard has ISO layout you need to use ISO keymap with `make KEYMAP=iso`. With ANSI
92keymap you will suffer from swapped keys problem.
93
94https://github.com/tmk/tmk_keyboard/issues/35
77 95
78EOF 96EOF