qmk-firmware/users/xulkal/custom_keycodes.h
XScorpion2 4f788c2ae9 [Keymap] Xulkal user changes (#6044)
* Xulkal user changes

Xulkal user changes

* Reduce code duplication

* Massive user code refactor
2019-06-01 14:39:31 -07:00

29 lines
430 B
C

#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)