diff options
author | Brendan Johan Lee <deadcyclo@vanntett.net> | 2017-01-26 11:56:32 +0100 |
---|---|---|
committer | Brendan Johan Lee <deadcyclo@vanntett.net> | 2017-01-26 11:56:32 +0100 |
commit | 8a645aa9ad5ea327bf90774dd3d5cdbbf881f826 (patch) | |
tree | 57b35dbf6334680787e31d153b2e0d910861ece9 /keyboards/preonic/keymaps/default/keymap.c | |
parent | 8af48194f211ed30910e5fc4f7abc3195a5fb16f (diff) | |
parent | aac7c0aa4db6b27f4c8d8f3849f8fd41f07e892a (diff) | |
download | qmk_firmware-8a645aa9ad5ea327bf90774dd3d5cdbbf881f826.tar.gz qmk_firmware-8a645aa9ad5ea327bf90774dd3d5cdbbf881f826.tar.xz |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'keyboards/preonic/keymaps/default/keymap.c')
-rw-r--r-- | keyboards/preonic/keymaps/default/keymap.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/keyboards/preonic/keymaps/default/keymap.c b/keyboards/preonic/keymaps/default/keymap.c index 78b4997a8..3313af945 100644 --- a/keyboards/preonic/keymaps/default/keymap.c +++ b/keyboards/preonic/keymaps/default/keymap.c @@ -9,12 +9,15 @@ // 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 _ADJUST 16 + +enum preonic_layers { + _QWERTY, + _COLEMAK, + _DVORAK, + _LOWER, + _RAISE, + _ADJUST +}; enum preonic_keycodes { QWERTY = SAFE_RANGE, |