]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/handwired/tritium_numpad/keymaps/ortho_left/keymap.c
[Keyboard] Added 3d printable, handwired numpad by tritiumfusion (#6125)
[qmk_firmware.git] / keyboards / handwired / tritium_numpad / keymaps / ortho_left / keymap.c
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    * | T  | G  | B  |Spac|
14    * |----|----|----|----|
15    * | R  | F  | V  | Fn |
16    * |----|----|----|----|
17    * | E  | D  | C  | OS |
18    * |----|----|----|----|
19    * | W  | S  | X  | Alt|
20    * |----|----|----|----|
21    * | Q  | A  | Z  | Ctl|
22    * |----|----|----|----|
23    * | Esc| Tab|Shft| Fn2|
24    * `-------------------'
25    */
26
27   [_BL] = LAYOUT_ortho_6x4(
28     KC_T,   KC_G,   KC_B,      KC_SPACE,
29     KC_R,   KC_F,   KC_V,      MO(1),    
30     KC_E,   KC_D,   KC_C,      KC_LGUI, 
31     KC_W,   KC_S,   KC_X,      KC_LALT,
32     KC_Q,   KC_A,   KC_Z,      KC_LCTL, 
33     KC_TAB, KC_ESC, KC_LSHIFT, MO(1)
34   ),
35
36   /* Keymap _FL: Function Layer
37    * ,-------------------.
38    * | 5  | F5 | F11|Spac|
39    * |----|----|----|----|
40    * | 4  | F4 | F10|    |
41    * |----|----|----|----|
42    * | 3  | F3 | F9 | OS |
43    * |----|----|----|----|
44    * | 2  | F2 | F8 | Alt|
45    * |----|----|----|----|
46    * | 1  | F1 | F7 | Ctl|
47    * |----|----|----|----|
48    * | `  | Del|Shft|    |
49    * `-------------------'
50    */
51   [_FL] = LAYOUT_ortho_6x4(
52     KC_5,  KC_F5,  KC_F11,  _______, 
53     KC_4,  KC_F4,  KC_F10,  _______, 
54     KC_3,  KC_F3,  KC_F9,   _______, 
55     KC_2,  KC_F2,  KC_F8,   _______, 
56     KC_1,  KC_F1,  KC_F7,   _______, 
57     KC_GRV,KC_DEL, _______, _______
58   ),
59 };