[Keymap] Update Xulkal user code (#5920)

This commit is contained in:
XScorpion2 authored and Drashna Jaelre committed 2019-05-19 09:15:50 -07:00
1 parent f11fde9bf5
commit a0d6c5a113
3 files changed
+20 -64

No files matched your search

+12 -6
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);