1 #include "keymap_common.h"
3 #ifdef KEYMAP_SECTION_ENABLE
4 const uint8_t keymaps[][MATRIX_ROWS][MATRIX_COLS] __attribute__ ((section (".keymap.keymaps"))) = {
6 const uint8_t keymaps[][MATRIX_ROWS][MATRIX_COLS] PROGMEM = {
9 * ,-----------------------------------------------------------.
10 * |` | 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =| #|Bsp|
11 * |-----------------------------------------------------------|
12 * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \ |
13 * |-----------------------------------------------------------|
14 * |Caps | A| S| D| F| G| H| J| K| L| ;| '|Enter |
15 * |-----------------------------------------------------------|
16 * |Shft| \| Z| X| C| V| B| N| M| ,| .| /|Shift |Esc|
17 * |-----------------------------------------------------------'
18 * |Ctrl|Gui |Alt | Space |App |Alt |Gui |Ctrl |
19 * `-----------------------------------------------------------'
22 GRV, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS,EQL, NUHS, BSPC, \
23 TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,BSLS, \
24 CAPS,A, S, D, F, G, H, J, K, L, SCLN,QUOT,ENT, \
25 LSFT,NUBS,Z, X, C, V, B, N, M, COMM,DOT, SLSH,RSFT,ESC, \
26 LCTL,LGUI,LALT, SPC, APP, RALT,RGUI,RCTL),
29 #ifdef KEYMAP_SECTION_ENABLE
30 const action_t fn_actions[] __attribute__ ((section (".keymap.fn_actions"))) = {
32 const action_t fn_actions[] PROGMEM = {
34 [0] = ACTION_LAYER_MOMENTARY(1),
35 [1] = ACTION_LAYER_MOMENTARY(2),
36 [2] = ACTION_LAYER_MOMENTARY(3),
37 [3] = ACTION_LAYER_MOMENTARY(4),
38 [4] = ACTION_LAYER_MOMENTARY(5),
39 [5] = ACTION_LAYER_MOMENTARY(6),
40 [6] = ACTION_LAYER_MOMENTARY(7),
41 [7] = ACTION_LAYER_TOGGLE(1),
42 [8] = ACTION_LAYER_TOGGLE(2),
43 [9] = ACTION_LAYER_TOGGLE(3),
44 [10] = ACTION_LAYER_TAP_TOGGLE(1),
45 [11] = ACTION_LAYER_TAP_TOGGLE(2),
46 [12] = ACTION_LAYER_TAP_TOGGLE(3),
47 [13] = ACTION_LAYER_TAP_KEY(1, KC_BSLASH),
48 [14] = ACTION_LAYER_TAP_KEY(2, KC_TAB),
49 [15] = ACTION_LAYER_TAP_KEY(3, KC_ENTER),
50 [16] = ACTION_LAYER_TAP_KEY(4, KC_SPACE),
51 [17] = ACTION_LAYER_TAP_KEY(5, KC_SCOLON),
52 [18] = ACTION_LAYER_TAP_KEY(6, KC_QUOTE),
53 [19] = ACTION_LAYER_TAP_KEY(7, KC_SLASH),
54 [20] = ACTION_MODS_TAP_KEY(MOD_LSFT, KC_SPACE),
55 [21] = ACTION_MODS_TAP_KEY(MOD_LCTL, KC_SPACE),
56 [22] = ACTION_MODS_TAP_KEY(MOD_RCTL, KC_QUOTE),
57 [23] = ACTION_MODS_TAP_KEY(MOD_RCTL, KC_ENTER),
58 [24] = ACTION_MODS_TAP_KEY(MOD_LCTL, KC_ESC),
59 [25] = ACTION_MODS_TAP_KEY(MOD_LCTL, KC_BSPACE),
60 [26] = ACTION_MODS_ONESHOT(MOD_LCTL),
61 [27] = ACTION_MODS_TAP_KEY(MOD_LSFT, KC_ESC),
62 [28] = ACTION_MODS_TAP_KEY(MOD_LSFT, KC_BSPACE),
63 [29] = ACTION_MODS_ONESHOT(MOD_LSFT),
64 [30] = ACTION_MODS_TAP_KEY(MOD_RSFT, KC_GRAVE),
65 [31] = ACTION_MODS_TAP_KEY(MOD_RSFT, KC_BSLASH),