diff options
author | Olivier Poitrey <rs@rhapsodyk.net> | 2018-09-17 15:10:00 -0700 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-09-17 15:10:00 -0700 |
commit | cb8d352cb3902612b118bf813d0459a2cd68473e (patch) | |
tree | 68db704ac6ce34c30919d66a3fe9f5a060b7b157 /keyboards/dz60/keymaps/macos_arrow | |
parent | a6d1db2c275f2e33e23135a6e410dbc8d19720a2 (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')
-rw-r--r-- | keyboards/dz60/keymaps/macos_arrow/keymap.c | 10 |
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, |