]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/amjpad/keymaps/ortho_left/keymap.c
Merge branch 'master' of github.com:qmk/qmk_firmware into hf/shinydox
[qmk_firmware.git] / keyboards / amjpad / keymaps / ortho_left / keymap.c
1 #include QMK_KEYBOARD_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] = LAYOUT_ortho_6x4(
34     KC_T,   KC_G,   KC_B,      KC_SPACE,\
35     KC_R,   KC_F,   KC_V,      MO(1),    \
36     KC_E,   KC_D,   KC_C,      KC_LGUI, \
37     KC_W,   KC_S,   KC_X,      KC_LALT, \
38     KC_Q,   KC_A,   KC_Z,      KC_LCTL, \
39     KC_TAB, KC_ESC, KC_LSHIFT, MO(1)
40   ),
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] = LAYOUT_ortho_6x4(
58     KC_5,  KC_F5,  KC_F11,  _______, \
59     KC_4,  KC_F4,  KC_F10,  _______, \
60     KC_3,  KC_F3,  KC_F9,   _______, \
61     KC_2,  KC_F2,  KC_F8,   _______, \
62     KC_1,  KC_F1,  KC_F7,   _______, \
63     KC_GRV,KC_DEL, _______, _______
64   ),
65 };