]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/amjpad/keymaps/ortho_left/keymap.c
a failed attempt at hot-plugging
[qmk_firmware.git] / keyboards / amjpad / keymaps / ortho_left / keymap.c
1 #include "amjpad.h"
2
3 #ifdef RGBLIGHT_ENABLE
4 #include "rgblight.h"
5 #endif
6
7 // Each layer gets a name for readability, which is then used in the keymap matrix below.
8 // The underscores don't mean anything - you can have a layer called STUFF or any other name.
9 // Layer names don't all need to be of the same length, obviously, and you can also skip them
10 // entirely and just use numbers.
11 #define _BL 0
12 #define _FL 1
13
14 #define _______ KC_TRNS
15
16 const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
17   /* Keymap _BL: (Base Layer) Default Layer
18    * ,-------------------.
19    * | T  | G  | B  |Spac|
20    * |----|----|----|----|
21    * | R  | F  | V  | Fn |
22    * |----|----|----|----|
23    * | E  | D  | C  | OS |
24    * |----|----|----|----|
25    * | W  | S  | X  | Alt|
26    * |----|----|----|----|
27    * | Q  | A  | Z  | Ctl|
28    * |----|----|----|----|
29    * | Esc| Tab|Shft| Fn2|
30    * `-------------------'
31    */
32
33 [_BL] = MAXKEYMAP(
34
35   KC_T,   KC_G,   KC_B,      KC_SPACE,\
36   KC_R,   KC_F,   KC_V,      MO(1),    \
37   KC_E,   KC_D,   KC_C,      KC_LGUI, \
38   KC_W,   KC_S,   KC_X,      KC_LALT, \
39   KC_Q,   KC_A,   KC_Z,      KC_LCTL, \
40   KC_TAB, KC_ESC, KC_LSHIFT, MO(1)),
41
42   /* Keymap _FL: Function Layer
43    * ,-------------------.
44    * | 5  | F5 | F11|Spac|
45    * |----|----|----|----|
46    * | 4  | F4 | F10|    |
47    * |----|----|----|----|
48    * | 3  | F3 | F9 | OS |
49    * |----|----|----|----|
50    * | 2  | F2 | F8 | Alt|
51    * |----|----|----|----|
52    * | 1  | F1 | F7 | Ctl|
53    * |----|----|----|----|
54    * | `  | Del|Shft|    |
55    * `-------------------'
56    */
57 [_FL] = MAXKEYMAP(
58
59   KC_5,  KC_F5,  KC_F11,  _______, \
60   KC_4,  KC_F4,  KC_F10,  _______, \
61   KC_3,  KC_F3,  KC_F9,   _______, \
62   KC_2,  KC_F2,  KC_F8,   _______, \
63   KC_1,  KC_F1,  KC_F7,   _______, \
64   KC_GRV,KC_DEL, _______, _______),
65 };