summaryrefslogtreecommitdiffstats
path: root/keyboards/miuni32/miuni32.h
diff options
context:
space:
mode:
authornoroadsleft <18669334+noroadsleft@users.noreply.github.com>2018-07-01 20:02:26 +0200
committerDrashna Jaelre <drashna@live.com>2018-07-01 20:02:26 +0200
commit0470017c21608b501af8ab01ab708ab2898e8141 (patch)
treed8e10ee1d8f5ab4c00eacfc88a77d85339615534 /keyboards/miuni32/miuni32.h
parent585f753ffee5b81c5c7262d1d288d95342e28cd6 (diff)
downloadqmk_firmware-0470017c21608b501af8ab01ab708ab2898e8141.tar.gz
qmk_firmware-0470017c21608b501af8ab01ab708ab2898e8141.tar.xz
Miuni32 refactor and Configurator support (#3273)
* Matrix refactor * Keymap refactor * Configurator support * Readme formatting update
Diffstat (limited to 'keyboards/miuni32/miuni32.h')
-rw-r--r--keyboards/miuni32/miuni32.h23
1 files changed, 18 insertions, 5 deletions
diff --git a/keyboards/miuni32/miuni32.h b/keyboards/miuni32/miuni32.h
index 8e1b4a38c..ff7467545 100644
--- a/keyboards/miuni32/miuni32.h
+++ b/keyboards/miuni32/miuni32.h
@@ -3,13 +3,26 @@
#include "quantum.h"
-#define KEYMAP( \
+#define LAYOUT( \
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, \
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, \
- K20, K21, K22, K23, K25, K26, K27, K28, K29, K2A ) { \
- { KC_##K00, KC_##K01, KC_##K02, KC_##K03, KC_##K04, KC_##K05, KC_##K06, KC_##K07, KC_##K08, KC_##K09, KC_##K0A }, \
- { KC_##K10, KC_##K11, KC_##K12, KC_##K13, KC_##K14, KC_##K15, KC_##K16, KC_##K17, KC_##K18, KC_##K19, KC_##K1A }, \
- { KC_##K20, KC_##K21, KC_##K22, KC_##K23, KC_NO, KC_##K25, KC_##K26, KC_##K27, KC_##K28, KC_##K29, KC_##K2A } \
+ K20, K21, K22, K23, K25, K26, K27, K28, K29, K2A \
+ ) { \
+ { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A }, \
+ { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A }, \
+ { K20, K21, K22, K23, KC_NO, K25, K26, K27, K28, K29, K2A } \
}
+#define LAYOUT_ortho_3x11( \
+ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, \
+ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, \
+ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A \
+ ) { \
+ { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A }, \
+ { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A }, \
+ { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A } \
+}
+
+#define LAYOUT_all LAYOUT_ortho_3x11
+
#endif