diff options
author | Stanley Lai <stanleylai.sg@gmail.com> | 2017-02-13 12:36:22 -0800 |
---|---|---|
committer | Stanley Lai <stanleylai.sg@gmail.com> | 2017-02-13 12:36:22 -0800 |
commit | a8eba1bddaf55224939a86bfa4d8e1b53e1d82db (patch) | |
tree | 906568677ed027a807d5e9c0c1bc1c2ae001f0f6 /keyboards/planck/keymaps/default/keymap.c | |
parent | 53ea854462c0b3b2c3c58a36b714ac02f773c74f (diff) | |
parent | fd2925efbac0d7963f3d267dd5264f08a0a4e9dc (diff) |
Merge remote-tracking branch 'refs/remotes/qmk/master'
Diffstat (limited to 'keyboards/planck/keymaps/default/keymap.c')
-rw-r--r-- | keyboards/planck/keymaps/default/keymap.c | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/keyboards/planck/keymaps/default/keymap.c b/keyboards/planck/keymaps/default/keymap.c index ddbe4d7b27..1b1b998b20 100644 --- a/keyboards/planck/keymaps/default/keymap.c +++ b/keyboards/planck/keymaps/default/keymap.c @@ -14,13 +14,16 @@ extern keymap_config_t keymap_config; // The underscores don't mean anything - you can have a layer called STUFF or any other name. // Layer names don't all need to be of the same length, obviously, and you can also skip them // entirely and just use numbers. -#define _QWERTY 0 -#define _COLEMAK 1 -#define _DVORAK 2 -#define _LOWER 3 -#define _RAISE 4 -#define _PLOVER 5 -#define _ADJUST 16 + +enum planck_layers { + _QWERTY, + _COLEMAK, + _DVORAK, + _LOWER, + _RAISE, + _PLOVER, + _ADJUST +}; enum planck_keycodes { QWERTY = SAFE_RANGE, |