diff options
Diffstat (limited to 'converter/adb_usb/README.md')
| -rw-r--r-- | converter/adb_usb/README.md | 38 |
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 | |||
| 7 | Discuss: http://geekhack.org/showwiki.php?title=Island:14290 | 7 | Discuss: http://geekhack.org/showwiki.php?title=Island:14290 |
| 8 | 8 | ||
| 9 | 9 | ||
| 10 | Build | 10 | Wiring |
| 11 | ----- | 11 | ------ |
| 12 | 0. Connect ADB keyboard to Teensy by 3 lines(Vcc, GND, Data). By default Data line uses port D0. | 12 | 0. 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. |
| 15 | 1. Define following macros for ADB connection in config.h if you use other than port D0. | 15 | 1. 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 |
| 17 | 2. make | 17 | 2. make |
| 18 | 3. program Teensy | 18 | 3. program Teensy |
| 19 | 19 | ||
| 20 | 20 | ||
| 21 | Build | ||
| 22 | ----- | ||
| 23 | Just make | ||
| 24 | |||
| 25 | $ make clean | ||
| 26 | $ make | ||
| 27 | |||
| 28 | If your keyboard is ISO layout | ||
| 29 | |||
| 30 | $ make KEYMAP=iso | ||
| 31 | |||
| 32 | |||
| 21 | LOCKING CAPSLOCK | 33 | LOCKING CAPSLOCK |
| 22 | ---------------- | 34 | ---------------- |
| 23 | 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. | 35 | 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. |
| @@ -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 | ||
| 69 | Notes | 81 | Notes |
| 70 | ----- | 82 | ----- |
| 71 | Many ADB keyboards has no discrimination between right modifier and left one, | 83 | Not-extended ADB keyboards have no discrimination between right modifier and left one, |
| 72 | you will always see left control even if you press right control key. | 84 | you will always see left control even if you press right control key. |
| 73 | Apple Extended Keyboard and Apple Extended Keyboard II are the examples. | 85 | Apple Extended Keyboard and Apple Extended Keyboard II can discriminate both side |
| 74 | Though ADB protocol itself has the ability of distinction between right and left. | 86 | modifiers except for GUI key(Windows/Command). |
| 75 | And most ADB keyboard has no NKRO functionality, though ADB protocol itself has that. | 87 | |
| 76 | See protocol/adb.c for more info. | 88 | And most ADB keyboard has no diodes in its matrix so they are not NKRO, |
| 89 | though ADB protocol itself supports it. See protocol/adb.c for more info. | ||
| 90 | |||
| 91 | If keyobard has ISO layout you need to use ISO keymap with `make KEYMAP=iso`. With ANSI | ||
| 92 | keymap you will suffer from swapped keys problem. | ||
| 93 | |||
| 94 | https://github.com/tmk/tmk_keyboard/issues/35 | ||
| 77 | 95 | ||
| 78 | EOF | 96 | EOF |
