4 #include "action_layer.h"
6 const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
7 [0] = KEYMAP( /* Base */
8 KC_ESC, KC_TAB, KC_PEQL, MO(1), \
9 KC_LNUM, KC_PSLS, KC_PAST, KC_PMNS, \
10 KC_P7, KC_P8, KC_P9, KC_PPLS, \
11 KC_P4, KC_P5, KC_P6, \
12 KC_P1, KC_P2, KC_P3, KC_PENT, \
15 [1] = KEYMAP( /* RGB */
16 RGB_SAI, RGB_VAI, RGB_HUI, KC_TRNS, \
17 RGB_SAD, RGB_VAD, RGB_HUD, KC_TRNS, \
18 RGB_M_X, RGB_M_G, RGB_MOD, RGB_RMOD, \
19 RGB_M_SW, RGB_M_SN, RGB_M_K, \
20 RGB_M_P, RGB_M_B, RGB_M_R, RGB_TOG, \
25 const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
27 // MACRODOWN only works in this function
34 void matrix_init_user(void) {
35 // This keymap only has a single base layer, so reset the default if needed
36 if(eeconfig_read_default_layer() > 1){
37 eeconfig_update_default_layer(1);
42 void matrix_scan_user(void) {
46 bool process_record_user(uint16_t keycode, keyrecord_t *record) {
50 void led_set_user(uint8_t usb_led) {