summaryrefslogtreecommitdiff
path: root/keyboards/crkbd/lib
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/crkbd/lib')
-rw-r--r--keyboards/crkbd/lib/layer_state_reader.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/keyboards/crkbd/lib/layer_state_reader.c b/keyboards/crkbd/lib/layer_state_reader.c
index eddb71337e..63d80b136c 100644
--- a/keyboards/crkbd/lib/layer_state_reader.c
+++ b/keyboards/crkbd/lib/layer_state_reader.c
@@ -3,11 +3,12 @@
#include <stdio.h>
#include "crkbd.h"
+// in the future, should use (1U<<_LAYER_NAME) instead, but needs to be moved to keymap,c
#define L_BASE 0
-#define L_LOWER 8
-#define L_RAISE 16
-#define L_ADJUST 65536
-#define L_ADJUST_TRI 65560
+#define L_LOWER 2
+#define L_RAISE 4
+#define L_ADJUST 8
+#define L_ADJUST_TRI 14
char layer_state_str[24];