diff options
Diffstat (limited to 'keyboards/amjpad/keymaps/default/keymap.c')
-rw-r--r-- | keyboards/amjpad/keymaps/default/keymap.c | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/keyboards/amjpad/keymaps/default/keymap.c b/keyboards/amjpad/keymaps/default/keymap.c new file mode 100644 index 000000000..9df4317bb --- /dev/null +++ b/keyboards/amjpad/keymaps/default/keymap.c | |||
@@ -0,0 +1,59 @@ | |||
1 | #include QMK_KEYBOARD_H | ||
2 | |||
3 | // Each layer gets a name for readability, which is then used in the keymap matrix below. | ||
4 | // The underscores don't mean anything - you can have a layer called STUFF or any other name. | ||
5 | // Layer names don't all need to be of the same length, obviously, and you can also skip them | ||
6 | // entirely and just use numbers. | ||
7 | #define _BL 0 | ||
8 | #define _FL 1 | ||
9 | |||
10 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
11 | /* Keymap _BL: (Base Layer) Default Layer | ||
12 | * ,-------------------. | ||
13 | * |Esc |TAB |BS | = | | ||
14 | * |----|----|----|----| | ||
15 | * | NL | / | * | - | | ||
16 | * |----|----|----|----| | ||
17 | * | 7 | 8 | 9 | | | ||
18 | * |----|----|----| + | | ||
19 | * | 4 | 5 | 6 | | | ||
20 | * |----|----|----|----| | ||
21 | * | 1 | 2 | 3 | | | ||
22 | * |----|----|----| En | | ||
23 | * | 0 |./FN| | | ||
24 | * `-------------------' | ||
25 | */ | ||
26 | |||
27 | [_BL] = LAYOUT_numpad_6x4( | ||
28 | KC_ESC, KC_TAB, KC_BSPC, KC_PEQL, | ||
29 | KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, | ||
30 | KC_P7, KC_P8, KC_P9, | ||
31 | KC_P4, KC_P5, KC_P6, KC_PPLS, | ||
32 | KC_P1, KC_P2, KC_P3, | ||
33 | KC_P0, LT(_FL,KC_PDOT), KC_PENT | ||
34 | ), | ||
35 | |||
36 | /* Keymap _FL: Function Layer | ||
37 | * ,-------------------. | ||
38 | * |Esc |TAB |BS | = | | ||
39 | * |----|----|----|----| | ||
40 | * | NL | / | * | - | | ||
41 | * |----|----|----|----| | ||
42 | * | 7 | 8 | 9 | | | ||
43 | * |----|----|----|RST | | ||
44 | * | 4 | 5 | 6 | | | ||
45 | * |----|----|----|----| | ||
46 | * | 1 | 2 | 3 | | | ||
47 | * |----|----|----| En | | ||
48 | * | 0 |./FN| | | ||
49 | * `-------------------' | ||
50 | */ | ||
51 | [_FL] = LAYOUT_numpad_6x4( | ||
52 | KC_ESC, KC_TAB, KC_BSPC, KC_PEQL, | ||
53 | KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, | ||
54 | KC_P7, KC_P8, KC_P9, | ||
55 | KC_P4, KC_P5, KC_P6, RESET, | ||
56 | KC_P1, KC_P2, KC_P3, | ||
57 | KC_P0, LT(_FL,KC_PDOT), KC_PENT | ||
58 | ), | ||
59 | }; | ||