Skip to content
This repository has been archived by the owner on Sep 12, 2019. It is now read-only.

Commit

Permalink
Keymap: dz60/macos_arrow: fix rev3 broken media layer (qmk#3928)
Browse files Browse the repository at this point in the history
Last rev broke the media layer because of a typo in layer definition.
Switched to an enum to avoid similar future typos.
  • Loading branch information
rs authored and drashna committed Sep 17, 2018
1 parent a6d1db2 commit cb8d352
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions keyboards/dz60/keymaps/macos_arrow/keymap.c
Original file line number Diff line number Diff line change
@@ -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,
Expand Down

0 comments on commit cb8d352

Please sign in to comment.