summaryrefslogtreecommitdiffstats
path: root/keyboards/preonic/keymaps/default
diff options
context:
space:
mode:
authorStephen Tudor <smt@smt.io>2017-01-28 06:51:07 +0100
committerStephen Tudor <smt@smt.io>2017-01-28 06:51:07 +0100
commitfa72689145ccbee120c236111c0e8813afa7881a (patch)
tree7eb408d19987ad05c6156331e50d6921c82aea50 /keyboards/preonic/keymaps/default
parent63e406eca4da805617889f7ab769a781c0046742 (diff)
parentec05f654210a01ef82db2ab54e6065783536b802 (diff)
downloadqmk_firmware-fa72689145ccbee120c236111c0e8813afa7881a.tar.gz
qmk_firmware-fa72689145ccbee120c236111c0e8813afa7881a.tar.xz
Merge branch 'master' into smt/planck
* master: Clarify license on abnt2 keymap (#1038) replace jackhumbert with qmk Add gitter image, start update to qmk org Remove COLEMAK from preonic_keycodes enum layer defines to enum Update readme for smt Preonic keymap Add smt keymap for Preonic updated all the other keymaps to support the new changes. fix: infinity60 keyboard was not using quantum features. Compare Makefile with itself instead of using `--help`
Diffstat (limited to 'keyboards/preonic/keymaps/default')
-rw-r--r--keyboards/preonic/keymaps/default/keymap.c15
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,