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.
This commit is contained in:
parent
a6d1db2c27
commit
cb8d352cb3
1 changed files with 6 additions and 4 deletions
|
@ -1,9 +1,11 @@
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
#define _BL 0 // Base layer
|
enum dz60_layers {
|
||||||
#define _FL 1 // Function layer
|
_BL, // Base layer
|
||||||
#define _ML 2 // Media layer
|
_FL, // Function layer
|
||||||
#define _NL 2 // Numpad layer
|
_ML, // Media layer
|
||||||
|
_NL // Numpad layer
|
||||||
|
};
|
||||||
|
|
||||||
enum my_keycodes {
|
enum my_keycodes {
|
||||||
BR_UP = SAFE_RANGE,
|
BR_UP = SAFE_RANGE,
|
||||||
|
|
Loading…
Reference in a new issue