summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2019-02-22 12:23:54 +0000
committerdakkar <dakkar@thenautilus.net>2019-02-22 12:23:54 +0000
commitf84e2893a65db95df82a6b08ca57d9347e11d9bc (patch)
treef5e6611f01c380f79847f8aac628a6a46ddec37c
parentMerge branch 'color-picker' (diff)
downloadkeyboardio-model01-f84e2893a65db95df82a6b08ca57d9347e11d9bc.tar.gz
keyboardio-model01-f84e2893a65db95df82a6b08ca57d9347e11d9bc.tar.bz2
keyboardio-model01-f84e2893a65db95df82a6b08ca57d9347e11d9bc.zip
move layer declaration to its own header
-rw-r--r--keymap-layers.h9
-rw-r--r--keymap-wrapper.h6
2 files changed, 10 insertions, 5 deletions
diff --git a/keymap-layers.h b/keymap-layers.h
new file mode 100644
index 0000000..2fb0e80
--- /dev/null
+++ b/keymap-layers.h
@@ -0,0 +1,9 @@
+// -*- mode: c++ -*-
+#pragma once
+
+#include "keymap-layers.h"
+
+enum { PRIMARY, NUMPAD, FUNCTION, FVWM }; // layers
+
+#define PRIMARY_KEYMAP_QWERTY
+// #define PRIMARY_KEYMAP_DVORAK
diff --git a/keymap-wrapper.h b/keymap-wrapper.h
index 808eb2f..7e6f8b0 100644
--- a/keymap-wrapper.h
+++ b/keymap-wrapper.h
@@ -2,11 +2,7 @@
#pragma once
#include "Kaleidoscope-MouseKeys.h"
-
-enum { PRIMARY, NUMPAD, FUNCTION, FVWM }; // layers
-
-#define PRIMARY_KEYMAP_QWERTY
-// #define PRIMARY_KEYMAP_DVORAK
+#include "keymap-layers.h"
#define CK(k,c) k