summaryrefslogtreecommitdiffstats
path: root/keyboards/dz60/keymaps/macos_arrow/keymap.c
diff options
context:
space:
mode:
authorOlivier Poitrey <rs@rhapsodyk.net>2018-09-17 15:10:00 -0700
committerDrashna Jaelre <drashna@live.com>2018-09-17 15:10:00 -0700
commitcb8d352cb3902612b118bf813d0459a2cd68473e (patch)
tree68db704ac6ce34c30919d66a3fe9f5a060b7b157 /keyboards/dz60/keymaps/macos_arrow/keymap.c
parenta6d1db2c275f2e33e23135a6e410dbc8d19720a2 (diff)
Keymap: dz60/macos_arrow: fix rev3 broken media layer (#3928)
Last rev broke the media layer because of a typo in layer definition. Switched to an enum to avoid similar future typos.
Diffstat (limited to 'keyboards/dz60/keymaps/macos_arrow/keymap.c')
-rw-r--r--keyboards/dz60/keymaps/macos_arrow/keymap.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/keyboards/dz60/keymaps/macos_arrow/keymap.c b/keyboards/dz60/keymaps/macos_arrow/keymap.c
index 9a3120afd3..7106092a47 100644
--- a/keyboards/dz60/keymaps/macos_arrow/keymap.c
+++ b/keyboards/dz60/keymaps/macos_arrow/keymap.c
@@ -1,9 +1,11 @@
#include QMK_KEYBOARD_H
-#define _BL 0 // Base layer
-#define _FL 1 // Function layer
-#define _ML 2 // Media layer
-#define _NL 2 // Numpad layer
+enum dz60_layers {
+ _BL, // Base layer
+ _FL, // Function layer
+ _ML, // Media layer
+ _NL // Numpad layer
+};
enum my_keycodes {
BR_UP = SAFE_RANGE,