mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-10 10:39:09 +00:00
Added defines for RAISE and LOWER (#9083)
I like being able to use layers. This fixes my screw-up from my last code overhaul.
This commit is contained in:
parent
361ac2f32a
commit
774384ce31
1 changed files with 3 additions and 1 deletions
|
@ -2,13 +2,15 @@
|
||||||
|
|
||||||
enum layer_names { _QWERTY, _COLEMAK, _DVORAK, _LOWER, _RAISE, _ADJUST };
|
enum layer_names { _QWERTY, _COLEMAK, _DVORAK, _LOWER, _RAISE, _ADJUST };
|
||||||
|
|
||||||
enum custom_keycodes { QWERTY = SAFE_RANGE, COLEMAK, DVORAK, LOWER, RAISE, ADJUST };
|
enum custom_keycodes { QWERTY = SAFE_RANGE, COLEMAK, DVORAK, ADJUST };
|
||||||
|
|
||||||
// Aliases to keep the keymap tidy
|
// Aliases to keep the keymap tidy
|
||||||
#define GUIBSPC GUI_T(KC_BSPC) // GUI when held, BSPC when tapped.
|
#define GUIBSPC GUI_T(KC_BSPC) // GUI when held, BSPC when tapped.
|
||||||
#define RGB_SWR RGB_M_SW // Swirl Animation alias
|
#define RGB_SWR RGB_M_SW // Swirl Animation alias
|
||||||
#define RGB_SNK RGB_M_SN // Snake Animation alias
|
#define RGB_SNK RGB_M_SN // Snake Animation alias
|
||||||
#define MACLOCK LGUI(LCTL(KC_Q)) // Lock my MacBook!
|
#define MACLOCK LGUI(LCTL(KC_Q)) // Lock my MacBook!
|
||||||
|
#define RAISE MO(_RAISE)
|
||||||
|
#define LOWER MO(_LOWER)
|
||||||
|
|
||||||
// clang-format off
|
// clang-format off
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
Loading…
Reference in a new issue