aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/catch22/keymaps/default/keymap.c
blob: 790ae1eeb908ddee60e052976a841a82bf9cf5e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#include QMK_KEYBOARD_H

#define _BASE 0
#define _FN   1

#define _______ KC_TRNS

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_BASE] = LAYOUT( /* Base */
           KC_NLCK, KC_PSLS,  KC_PAST,  KC_BSPC,  \
           KC_P7,   KC_P8,    KC_P9,    KC_PEQL,  \
  MO(_FN), KC_P4,   KC_P5,    KC_P6,    KC_PPLS,  \
  KC_PENT, KC_P1,   KC_P2,    KC_P3,    KC_PMNS,  \
           KC_SPC,  KC_P0,    KC_PDOT,  KC_TAB    \
),
[_FN] = LAYOUT(
           RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUI, \
           _______, _______, _______, _______, \
  _______, _______, _______, _______, _______, \
  KC_2,    _______, _______, _______, _______, \
           _______, _______, _______, _______  \
),
};

const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) // MACRODOWN only works in this function
{
    return MACRO_NONE;
};