forked from mirrors/qmk_userspace
[Keymap] Xulkal user changes (#6044)
* Xulkal user changes Xulkal user changes * Reduce code duplication * Massive user code refactor
This commit is contained in:
parent
02b3fadbac
commit
4f788c2ae9
18 changed files with 334 additions and 260 deletions
|
@ -1,44 +1,6 @@
|
|||
#pragma once
|
||||
#include "quantum.h"
|
||||
|
||||
#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"
|
||||
|
||||
//Tap Dance Declarations
|
||||
enum {
|
||||
COMM_QUOT = 0,
|
||||
BACKSPACE,
|
||||
TAP_TAB,
|
||||
CTRL_MINUS,
|
||||
CTRL_PLUS
|
||||
};
|
||||
|
||||
#define TD_COMM TD(COMM_QUOT)
|
||||
#define TD_BSPC TD(BACKSPACE)
|
||||
#define TD_TAB TD(TAP_TAB)
|
||||
#define TD_LCTL TD(CTRL_MINUS)
|
||||
#define TD_RCTL TD(CTRL_PLUS)
|
||||
#else
|
||||
#define TD_COMM KC_COMM
|
||||
#define TD_BSPC KC_BSPACE
|
||||
#define TD_TAB KC_TAB
|
||||
#define TD_LCTL KC_LCTL
|
||||
#define TD_RCTL KC_RCTL
|
||||
#endif
|
||||
#include "custom_tap_dance.h"
|
||||
|
||||
enum layer_number {
|
||||
_QWERTY = 0,
|
||||
|
@ -52,8 +14,4 @@ enum layer_number {
|
|||
#endif
|
||||
};
|
||||
|
||||
enum custom_keycodes {
|
||||
RGBRST = SAFE_RANGE
|
||||
};
|
||||
|
||||
bool process_record_keymap(uint16_t keycode, keyrecord_t *record);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue