1 #include "keymap_common.h"
4 const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
5 /* IBM XT keyboard layout
6 * ,-------. ,--------------------------------------------------------------------------.
7 * | F1| F2| |Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =| BS |NumLck |ScrLck |
8 * |-------| |--------------------------------------------------------------------------|
9 * | F3| F4| | Tab | Q| W| E| R| T| Y| U| I| O| P| [| ] | | 7| 8| 9| -|
10 * |-------| |------------------------------------------------------|Ent|---------------|
11 * | F5| F6| | Ctrl | A| S| D| F| G| H| J| K| L| ;| '| `| | 4| 5| 6| |
12 * |-------| |----------------------------------------------------------------------| |
13 * | F7| F8| |Shif| \| Z| X| C| V| B| N| M| ,| .| /|Shift| *| 1| 2| 3| +|
14 * |-------| |----------------------------------------------------------------------| |
15 * | F9|F10| | Alt | Space |CapsLck| 0 | . | |
16 * `-------' `--------------------------------------------------------------------------'
19 F1, F2, ESC, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS,EQL, BSPC, NLCK, SLCK,
20 F3, F4, TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC, P7, P8, P9, PMNS,
21 F5, F6, LCTL,A, S, D, F, G, H, J, K, L, SCLN,QUOT,GRV, ENT, P4, P5, P6,
22 F7, F8, LSFT,BSLS,Z, X, C, V, B, N, M, COMM,DOT, SLSH,RSFT,PAST,P1, P2, P3, PPLS,
23 F9, F10, LALT, SPC, CAPS, P0, PDOT
26 /* Extended keyboard layout
27 * ,-----------------------------------------------.
28 * |F13|F14|F15|F16|F17|F18|F19|F20|F21|F22|F23|F24|
29 * ,---. |-----------------------------------------------| ,-----------. ,-----------.
30 * |Esc| |F1 |F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12| |PrS|ScL|Pau| |VDn|VUp|Mut|
31 * `---' `-----------------------------------------------' `-----------' `-----------'
32 * ,-----------------------------------------------------------. ,-----------. ,---------------.
33 * | `| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|JPY|Bsp| |Ins|Hom|PgU| |NmL| /| *| -|
34 * |-----------------------------------------------------------| |-----------| |---------------|
35 * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \ | |Del|End|PgD| | 7| 8| 9| +|
36 * |-----------------------------------------------------------| `-----------' |---------------|
37 * |CapsL | A| S| D| F| G| H| J| K| L| ;| '| #|Entr| | 4| 5| 6|KP,|
38 * |-----------------------------------------------------------| ,---. |---------------|
39 * |Shft| <| Z| X| C| V| B| N| M| ,| .| /| RO|Shift | |Up | | 1| 2| 3|KP=|
40 * |-----------------------------------------------------------| ,-----------. |---------------|
41 * |Ctl|Gui|Alt|MHEN| Space |HENK|KANA|Alt|Gui|App|Ctl| |Lef|Dow|Rig| | 0| .|Ent|
42 * `-----------------------------------------------------------' `-----------' `---------------'
44 /* Try this if your keyboad has exotic keys.
46 F13, F14, F15, F16, F17, F18, F19, F20, F21, F22, F23, F24,
47 ESC, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, PSCR,SLCK,PAUS, VOLD,VOLU,MUTE,
48 GRV, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS,EQL, JYEN,BSPC, INS, HOME,PGUP, NLCK,PSLS,PAST,PMNS,
49 TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC, BSLS, DEL, END, PGDN, P7, P8, P9, PPLS,
50 CAPS,A, S, D, F, G, H, J, K, L, SCLN,QUOT, NUHS,ENT, P4, P5, P6, PCMM,
51 LSFT,NUBS,Z, X, C, V, B, N, M, COMM,DOT, SLSH, RO, RSFT, UP, P1, P2, P3, PENT,
52 LCTL,LGUI,LALT,MHEN, SPC, HENK,KANA,RALT,RGUI,APP, RCTL, LEFT,DOWN,RGHT, P0, PDOT,PEQL
57 const action_t PROGMEM fn_actions[] = {