]> git.gir.st - tmk_keyboard.git/blob - adb/README
ADB keyboard LEDs support
[tmk_keyboard.git] / adb / README
1 ADB to USB keyboard converter
2 =============================
3 http://geekhack.org/showwiki.php?title=Island:14290
4
5 This firmware converts ADB keyboard protocol to USB.
6
7
8 Build
9 -----
10 0. Connect ADB keyboard to Teensy by 3 lines(Vcc, GND, Data).
11 PSW line is optional. See ADB.txt for details.
12 1. Define following macros for ADB connection in config.h:
13 ADB_PORT
14 ADB_PIN
15 ADB_DDR
16 ADB_DATA_BIT
17 ADB_PSW_BIT
18 2. make
19 3. program Teensy.
20
21
22 Keymap
23 ------
24 You can change a keymap by editing code of keymap.c like following.
25 This is a keymap for AEK, however, also used for other keyboards.
26 How to define the keymap is probably obvious. You can find key
27 symbols in usb_keycodes.h.
28 If you want to define some keymaps than just one, see hhkb/keymap.c and
29 macway/keymap.c as examples. Keymap(layer) switching may needs a bit of
30 effort at this time.
31
32 /* Default Layer: plain keymap
33 * ,---. ,---------------. ,---------------. ,---------------. ,-----------. ,---.
34 * |Esc| |F1 |F2 |F3 |F4 | |F5 |F6 |F7 |F8 | |F9 |F10|F11|F12| |PrS|ScL|Pau| |Pwr|
35 * `---' `---------------' `---------------' `---------------' `-----------' `---'
36 * ,-----------------------------------------------------------. ,-----------. ,---------------.
37 * | `| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backspa| |Ins|Hom|PgU| |NmL| =| /| *|
38 * |-----------------------------------------------------------| |-----------| |---------------|
39 * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \| |Del|End|PgD| | 7| 8| 9| -|
40 * |-----------------------------------------------------------| `-----------' |---------------|
41 * |CapsLo| A| S| D| F| G| H| J| K| L| ;| '|Return | | 4| 5| 6| +|
42 * |-----------------------------------------------------------| ,---. |---------------|
43 * |Shift | Z| X| C| V| B| N| M| ,| ,| /|Shift | |Up | | 1| 2| 3| |
44 * |-----------------------------------------------------------| ,-----------. |-----------|Ent|
45 * |Ctrl |Gui |Alt | Space | | | | |Lef|Dow|Rig| | 0| .| |
46 * `-----------------------------------------------------------' `-----------' `---------------'
47 */
48 KEYMAP(
49 ESC, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, PSCR,SLCK,BRK, PWR,
50 GRV, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS,EQL, BSPC, INS, HOME,PGUP, NLCK,EQL, PSLS,PAST,
51 TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,BSLS, DEL, END, PGDN, P7, P8, P9, PMNS,
52 CAPS,A, S, D, F, G, H, J, K, L, SCLN,QUOT, ENT, P4, P5, P6, PPLS,
53 LSFT,Z, X, C, V, B, N, M, COMM,DOT, SLSH, RSFT, UP, P1, P2, P3,
54 LCTL,LGUI,LALT, SPC, LEFT,DOWN,RGHT, P0, PDOT,PENT
55 ),
56
57
58 EOF
Imprint / Impressum