diff options
author | Olivier Poitrey <rs@rhapsodyk.net> | 2018-09-18 00:10:00 +0200 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-09-18 00:10:00 +0200 |
commit | cb8d352cb3902612b118bf813d0459a2cd68473e (patch) | |
tree | 68db704ac6ce34c30919d66a3fe9f5a060b7b157 /keyboards/dz60/keymaps | |
parent | a6d1db2c275f2e33e23135a6e410dbc8d19720a2 (diff) | |
download | qmk_firmware-cb8d352cb3902612b118bf813d0459a2cd68473e.tar.gz qmk_firmware-cb8d352cb3902612b118bf813d0459a2cd68473e.tar.xz |
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')
-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 9a3120afd..7106092a4 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, |