aboutsummaryrefslogtreecommitdiff
path: root/keyboards/helix/rev2/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/helix/rev2/keymaps/default/keymap.c')
-rw-r--r--keyboards/helix/rev2/keymaps/default/keymap.c27
1 files changed, 12 insertions, 15 deletions
diff --git a/keyboards/helix/rev2/keymaps/default/keymap.c b/keyboards/helix/rev2/keymaps/default/keymap.c
index b8a9baee3..1a268b32d 100644
--- a/keyboards/helix/rev2/keymaps/default/keymap.c
+++ b/keyboards/helix/rev2/keymaps/default/keymap.c
@@ -27,12 +27,14 @@ extern uint8_t is_master;
27// The underscores don't mean anything - you can have a layer called STUFF or any other name. 27// The underscores don't mean anything - you can have a layer called STUFF or any other name.
28// Layer names don't all need to be of the same length, obviously, and you can also skip them 28// Layer names don't all need to be of the same length, obviously, and you can also skip them
29// entirely and just use numbers. 29// entirely and just use numbers.
30#define _QWERTY 0 30enum layer_number {
31#define _COLEMAK 1 31 _QWERTY = 0,
32#define _DVORAK 2 32 _COLEMAK,
33#define _LOWER 3 33 _DVORAK,
34#define _RAISE 4 34 _LOWER,
35#define _ADJUST 16 35 _RAISE,
36 _ADJUST
37};
36 38
37enum custom_keycodes { 39enum custom_keycodes {
38 QWERTY = SAFE_RANGE, 40 QWERTY = SAFE_RANGE,
@@ -526,15 +528,10 @@ void matrix_update(struct CharacterMatrix *dest,
526 528
527//assign the right code to your layers for OLED display 529//assign the right code to your layers for OLED display
528#define L_BASE 0 530#define L_BASE 0
529#define L_LOWER 8 531#define L_LOWER (1<<_LOWER)
530#define L_RAISE 16 532#define L_RAISE (1<<_RAISE)
531#define L_FNLAYER 64 533#define L_ADJUST (1<<_ADJUST)
532#define L_NUMLAY 128 534#define L_ADJUST_TRI (L_ADJUST|L_RAISE|L_LOWER)
533#define L_NLOWER 136
534#define L_NFNLAYER 192
535#define L_MOUSECURSOR 256
536#define L_ADJUST 65536
537#define L_ADJUST_TRI 65560
538 535
539static void render_logo(struct CharacterMatrix *matrix) { 536static void render_logo(struct CharacterMatrix *matrix) {
540 537