summaryrefslogtreecommitdiff
path: root/keyboards/maple_computing/launchpad/keymaps/default_rgb/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/maple_computing/launchpad/keymaps/default_rgb/keymap.c')
-rw-r--r--keyboards/maple_computing/launchpad/keymaps/default_rgb/keymap.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/keyboards/maple_computing/launchpad/keymaps/default_rgb/keymap.c b/keyboards/maple_computing/launchpad/keymaps/default_rgb/keymap.c
index 529fa91f65..69fb3ce561 100644
--- a/keyboards/maple_computing/launchpad/keymaps/default_rgb/keymap.c
+++ b/keyboards/maple_computing/launchpad/keymaps/default_rgb/keymap.c
@@ -7,9 +7,11 @@ extern keymap_config_t keymap_config;
// 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 _RGB 1
-#define _FUNC 15
+enum layer_names {
+ _QWERTY,
+ _RGB,
+ _FUNC
+};
// Defines for task manager and such
#define CALTDEL LCTL(LALT(KC_DEL))