[Keymap] Update Xulkal user code (#5920)

This commit is contained in:
XScorpion2 2019-05-19 11:15:50 -05:00 committed by Drashna Jaelre
parent f11fde9bf5
commit a0d6c5a113
3 changed files with 20 additions and 64 deletions

View file

@ -4,6 +4,17 @@
#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)
#ifdef TAP_DANCE_ENABLE
#include "process_tap_dance.h"
@ -42,12 +53,7 @@ enum layer_number {
};
enum custom_keycodes {
QWERTY = SAFE_RANGE,
GAME,
LOWER,
RAISE,
RGBRST
RGBRST = SAFE_RANGE
};
bool process_record_keymap(uint16_t keycode, keyrecord_t *record);
bool process_record_rgb(uint16_t keycode, keyrecord_t *record);