summaryrefslogtreecommitdiff
path: root/keyboards/handwired/cmd60/cmd60.h
diff options
context:
space:
mode:
authornoroadsleft <18669334+noroadsleft@users.noreply.github.com>2018-12-14 07:33:00 -0800
committerDrashna Jaelre <drashna@live.com>2018-12-14 07:33:00 -0800
commit60f9abca1245640e12d65aa60f5953ff1719408f (patch)
tree1247f3bc5f08bc8d642492bb0144cf5615b5d175 /keyboards/handwired/cmd60/cmd60.h
parent25892301d426e0c77081aa8d431479df2f52d1f3 (diff)
downloadqmk_firmware-60f9abca1245640e12d65aa60f5953ff1719408f.tar.gz
qmk_firmware-60f9abca1245640e12d65aa60f5953ff1719408f.zip
handwired/CMD60 Refactor, Configurator support and readme update (#4632)
* handwired/CMD60: refactor - renamed layout macro KEYMAP to LAYOUT - removed K2C, K3B and K3C locations (indications are these locations were unused in hardware) - keymap - now uses #include QMK_KEYBOARD_H - converted keycodes to short format - deleted TMK fn_actions and action_get_macro blocks - white space changes (readability/alignment) * handwired/CMD60: Configurator support * handwired/CMD60: readme update - updated to conform to current QMK template - added image and build gallery links * handwired/cmd60: rename all files and folders to lowercase
Diffstat (limited to 'keyboards/handwired/cmd60/cmd60.h')
-rw-r--r--keyboards/handwired/cmd60/cmd60.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/keyboards/handwired/cmd60/cmd60.h b/keyboards/handwired/cmd60/cmd60.h
new file mode 100644
index 0000000000..2e0baa9997
--- /dev/null
+++ b/keyboards/handwired/cmd60/cmd60.h
@@ -0,0 +1,20 @@
+#ifndef CMD60_H
+#define CMD60_H
+
+#include "quantum.h"
+
+#define LAYOUT( \
+ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, \
+ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, \
+ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2D, \
+ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3D, \
+ K40, K41, K42, K45, K4A, K4B, K4C, K4D \
+ ) { \
+ { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D }, \
+ { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D }, \
+ { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, KC_NO, K2D }, \
+ { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, KC_NO, KC_NO, K3D }, \
+ { K40, K41, K42, KC_NO, KC_NO, K45, KC_NO, KC_NO, KC_NO, KC_NO, K4A, K4B, K4C, K4D } \
+}
+
+#endif