aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/minidox/rev1/rev1.h
diff options
context:
space:
mode:
authorGravatar noroadsleft <18669334+noroadsleft@users.noreply.github.com>2018-07-12 10:21:29 -0700
committerGravatar Drashna Jaelre <drashna@live.com>2018-07-12 10:21:29 -0700
commite3299db9e33304589d75a5dc332a6c5c484a82be (patch)
treea71c41a00c78a187427a7456021af22a4a69df73 /keyboards/minidox/rev1/rev1.h
parent168d180a743737fb126ef6f508fda6ee1f81248f (diff)
downloadqmk_firmware-e3299db9e33304589d75a5dc332a6c5c484a82be.tar.gz
Minidox refactor and Configurator support (#3373)
* Matrix refactor * Keymap refactor: #include QMK_KEYBOARD_H * Configurator support
Diffstat (limited to 'keyboards/minidox/rev1/rev1.h')
-rw-r--r--keyboards/minidox/rev1/rev1.h33
1 files changed, 18 insertions, 15 deletions
diff --git a/keyboards/minidox/rev1/rev1.h b/keyboards/minidox/rev1/rev1.h
index b419c5fc9..99c579d6e 100644
--- a/keyboards/minidox/rev1/rev1.h
+++ b/keyboards/minidox/rev1/rev1.h
@@ -8,21 +8,24 @@
//void promicro_bootloader_jmp(bool program);
+// readability
+#define ___ KC_NO
+
#define LAYOUT( \
- k01, k02, k03, k04, k05, k45, k44, k43, k42, k41, \
- k11, k12, k13, k14, k15, k55, k54, k53, k52, k51, \
- k21, k22, k23, k24, k25, k65, k64, k63, k62, k61, \
- k33, k34, k35, k75, k74, k73 \
- ) \
- { \
- { k01, k02, k03, k04, k05 }, \
- { k11, k12, k13, k14, k15 }, \
- { k21, k22, k23, k24, k25 }, \
- { KC_NO, KC_NO, k33, k34, k35 }, \
- { k41, k42, k43, k44, k45 }, \
- { k51, k52, k53, k54, k55 }, \
- { k61, k62, k63, k64, k65 }, \
- { KC_NO, KC_NO, k73, k74, k75 } \
- }
+ k01, k02, k03, k04, k05, k45, k44, k43, k42, k41, \
+ k11, k12, k13, k14, k15, k55, k54, k53, k52, k51, \
+ k21, k22, k23, k24, k25, k65, k64, k63, k62, k61, \
+ k33, k34, k35, k75, k74, k73 \
+ ) \
+ { \
+ { k01, k02, k03, k04, k05 }, \
+ { k11, k12, k13, k14, k15 }, \
+ { k21, k22, k23, k24, k25 }, \
+ { ___, ___, k33, k34, k35 }, \
+ { k41, k42, k43, k44, k45 }, \
+ { k51, k52, k53, k54, k55 }, \
+ { k61, k62, k63, k64, k65 }, \
+ { ___, ___, k73, k74, k75 } \
+ }
#endif