summaryrefslogtreecommitdiffstats
path: root/users/kageurufu/process_records.h
blob: d1c50a4112b480fecdc265f6d8a42fa30f0b4fac (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
#pragma once
#include "kageurufu.h"

#define FN_ESC  LT(_FN, KC_ESC)
#define FN      MO(_FN)
#define ADJ     MO(_ADJ)

enum layer_number {
    _QWERTY = 0,
    _COLEMAK,
    _COLEMAK_DH,
    _FN,
    _ADJ,
    ADDITIONAL_LAYER
};

enum custom_keycodes {
  QWERTY = SAFE_RANGE,
  COLEMAK,
  CMAK_DH,
  RGBRST,
  KAGEURUFU_SAFE_RANGE
};


bool process_record_keymap(uint16_t keycode, keyrecord_t *record);
bool process_record_rgb(uint16_t keycode, keyrecord_t *record);