2 #include "action_layer.h"
5 extern keymap_config_t keymap_config;
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.
15 enum custom_keycodes {
20 #define _______ KC_TRNS
22 #define KC_FN1 LT(_FN1, KC_NO)
23 #define KC_FN2 LT(_FN2, KC_NO)
24 #define KC_SPFN LT(_FN1, KC_SPACE)
27 #define KC_RTOG RGB_TOG
28 #define KC_RMOD RGB_MOD
29 #define KC_RHUI RGB_HUI
30 #define KC_RHUD RGB_HUD
31 #define KC_RSAI RGB_SAI
32 #define KC_RSAD RGB_SAD
33 #define KC_RVAI RGB_VAI
34 #define KC_RVAD RGB_VAD
36 const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
38 //,----+----+----+----+----+----|----+----+----+----+----+----+----.
39 TAB , Q , W , E , R , T , Y , U , I , O , P , DEL,BSPC,
40 //|----`----`----`----`----`----|----`----`----`----`----`----`----|
41 ESC , A , S , D , F , G , H , J , K , L ,QUOT, SCLN ,
42 //|-----`----`----`----`----`----|----`----`----`----`----`--------|
43 LSFT , Z , X , C , V , B , N , M ,COMM,DOT ,SLSH, PGUP ,
44 //|-------`----`----`----`----`----|----`----`----`----`----`------|
45 LCTL ,LALT, FN1, ,ENTER , SPACE , FN2 , HOME, END , PGDN
46 //`-----+----+-----+-------------|--------+-----+-----+-----+------'
50 //,----+----+----+----+----+----|----+----+----+----+----+----+----.
51 GRV , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 0 , , ,
52 //|----`----`----`----`----`----|----`----`----`----`----`----`----|
53 DEL , F1 ,F2 , F3 , F4 , F5 , F6 ,MINS, EQL,LBRC,RBRC, BSLS ,
54 //|-----`----`----`----`----`----|----`----`----`----`----`--------|
55 , F7 , F8 , F9 , F10, F11, F12, , , , UP , ,
56 //|-------`----`----`----`----`----|----`----`----`----`----`------|
57 , , , , , ,RGUI,LEFT ,DOWN ,RIGHT
58 //`-----+----+-----+-------------|--------+-----+-----+-----+------'
62 //,----+----+----+----+----+----|----+----+----+----+----+----+----.
63 TILD,EXLM, AT ,HASH,DLR ,PERC,CIRC,AMPR,ASTR,LPRN,RPRN, , ,
64 //|----`----`----`----`----`----|----`----`----`----`----`----`----|
65 DEL ,RHUI,RSAI,RVAI, , , ,UNDS,PLUS,LCBR,RCBR, PIPE ,
66 //|-----`----`----`----`----`----|----`----`----`----`----`--------|
67 ,RHUD,RSAD,RVAD, , ,VOLU,VOLD, , , UP , ,
68 //|-------`----`----`----`----`----|----`----`----`----`----`------|
69 ,RTOG,RMOD , , , , , LEFT, DOWN, RIGHT
70 //`-----+----+-----+-------------|--------+-----+-----+-----+------'