1
0
Fork 0
forked from forks/qmk_firmware

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:
Olivier Poitrey 2018-09-17 15:10:00 -07:00 committed by Drashna Jaelre
parent a6d1db2c27
commit cb8d352cb3

View file

@ -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,