summaryrefslogtreecommitdiffstats
path: root/keyboards/keebio/viterbi/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keebio/viterbi/keymaps/default/keymap.c')
-rw-r--r--keyboards/keebio/viterbi/keymaps/default/keymap.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/keyboards/keebio/viterbi/keymaps/default/keymap.c b/keyboards/keebio/viterbi/keymaps/default/keymap.c
index 1db80b7452..d23ebe6797 100644
--- a/keyboards/keebio/viterbi/keymaps/default/keymap.c
+++ b/keyboards/keebio/viterbi/keymaps/default/keymap.c
@@ -5,10 +5,12 @@
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
// Layer names don't all need to be of the same length, obviously, and you can also skip them
// entirely and just use numbers.
-#define _QWERTY 0
-#define _LOWER 1
-#define _RAISE 2
-#define _ADJUST 16
+enum layer_names {
+ _QWERTY,
+ _LOWER,
+ _RAISE,
+ _ADJUST
+};
enum custom_keycodes {
QWERTY = SAFE_RANGE,