summaryrefslogtreecommitdiffstats
path: root/users/xulkal/custom_keycodes.h
blob: d4ae0bd477b0a824a3d7bfb3bba5c8962e8df62c (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
#pragma once

enum custom_keycodes {
  RGBRST = SAFE_RANGE,
#ifndef TAP_DANCE_ENABLE
  TD_MIN,
  TD_COMM = TD_MIN,
  TD_BSPC,
  TD_DEL,
  TD_DOT,
  TD_MAX,
#endif
  KEYMAP_SAFE_RANGE
};

#define RIS_ESC  LT(_RAISE, KC_ESC)
#define RIS_CAPS LT(_RAISE, KC_CAPS)

#define QWERTY DF(_QWERTY)

#ifndef GAMELAYER_DISABLE
#define GAME DF(_GAME)
#else
#define GAME KC_TRANSPARENT
#endif

#define LOWER MO(_LOWER)
#define RAISE MO(_RAISE)