diff options
author | Damien <Dbroqua@users.noreply.github.com> | 2017-01-26 09:05:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-26 09:05:55 +0100 |
commit | b7b94bfb132aa5f2f79b587fcfa6b1197485db27 (patch) | |
tree | 4cae966728b7b6baf101a7ab2b95eeff16cce141 /keyboards/planck/keymaps/default/keymap.c | |
parent | f91f0a715d51286064bfe808b0d463878a6d3588 (diff) | |
parent | aac7c0aa4db6b27f4c8d8f3849f8fd41f07e892a (diff) |
Merge pull request #17 from qmk/master
Merged from QMK project
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, |