aboutsummaryrefslogtreecommitdiff
path: root/keyboards/kc60
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-08-23 22:29:07 -0400
committerGitHub <noreply@github.com>2017-08-23 22:29:07 -0400
commitd2ff66a985b938e87fffe55c1d9f1dc55e356f91 (patch)
tree561b3e203033849573a17f5ac6248077ab687676 /keyboards/kc60
parent7260fc3eef98fb7b0e2ed24d3d0d14cf2e613000 (diff)
downloadqmk_firmware-d2ff66a985b938e87fffe55c1d9f1dc55e356f91.tar.gz
qmk_firmware-d2ff66a985b938e87fffe55c1d9f1dc55e356f91.zip
Creates a layouts/ folder for keymaps shared between keyboards (#1609)
* include variables and .h files as pp directives * start layout compilation * split ergodoxes up * don't compile all layouts for everything * might seg fault * reset layouts variable * actually reset layouts * include rules.mk instead * remove includes from rules.mk * update variable setting * load visualizer from path * adds some more examples * adds more layouts * more boards added * more boards added * adds documentation for layouts * use lowercase names for LAYOUT_ * add layout.json files for each layout * add community folder, default keymaps for layouts * touch-up default layouts * touch-up layouts, some keyboard rules.mk * update documentation for layouts * fix up serial/i2c switches
Diffstat (limited to 'keyboards/kc60')
-rw-r--r--keyboards/kc60/kc60.h20
-rw-r--r--keyboards/kc60/rules.mk2
2 files changed, 19 insertions, 3 deletions
diff --git a/keyboards/kc60/kc60.h b/keyboards/kc60/kc60.h
index c3a0165c0..0fdd3701a 100644
--- a/keyboards/kc60/kc60.h
+++ b/keyboards/kc60/kc60.h
@@ -35,8 +35,6 @@
35 { K40, K41, K42, KC_NO, KC_NO, K45, KC_NO, KC_NO, KC_NO, K49, K4A, K4B, K4C, K4D } \ 35 { K40, K41, K42, KC_NO, KC_NO, K45, KC_NO, KC_NO, KC_NO, K49, K4A, K4B, K4C, K4D } \
36} 36}
37 37
38#endif
39
40/* Default layout 38/* Default layout
41 * ,-----------------------------------------------------------------------------------------. 39 * ,-----------------------------------------------------------------------------------------.
42 * | K00 | K01 | K02 | K03 | K04 | K05 | K06 | K07 | K08 | K09 | K0A | K0B | K0C | K0D | 40 * | K00 | K01 | K02 | K03 | K04 | K05 | K06 | K07 | K08 | K09 | K0A | K0B | K0C | K0D |
@@ -51,6 +49,20 @@
51 * `-----------------------------------------------------------------------------------------' 49 * `-----------------------------------------------------------------------------------------'
52 */ 50 */
53 51
52#define LAYOUT_60_ansi( \
53 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, \
54 K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, \
55 K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, \
56 K30, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, \
57 K40, K41, K42, K45, K4A, K4B, K4C, K4D \
58 ) { \
59 { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, }, \
60 { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D }, \
61 { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, KC_NO }, \
62 { K30, KC_NO, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, KC_NO }, \
63 { K40, K41, K42, KC_NO, KC_NO, K45, KC_NO, KC_NO, KC_NO, KC_NO, K4A, K4B, K4C, K4D } \
64}
65
54/* Mini Lshift 66/* Mini Lshift
55 * ,-----------------------------------------------------------------------------------------. 67 * ,-----------------------------------------------------------------------------------------.
56 * | K00 | K01 | K02 | K03 | K04 | K05 | K06 | K07 | K08 | K09 | K0A | K0B | K0C | K0D | 68 * | K00 | K01 | K02 | K03 | K04 | K05 | K06 | K07 | K08 | K09 | K0A | K0B | K0C | K0D |
@@ -91,4 +103,6 @@
91 * |-----------------------------------------------------------------------------------------+ 103 * |-----------------------------------------------------------------------------------------+
92 * | K40 | K41 | K42 | K45 | K4A | K4B | K4C | K4D | 104 * | K40 | K41 | K42 | K45 | K4A | K4B | K4C | K4D |
93 * `-----------------------------------------------------------------------------------------' 105 * `-----------------------------------------------------------------------------------------'
94 */ \ No newline at end of file 106 */
107
108#endif \ No newline at end of file
diff --git a/keyboards/kc60/rules.mk b/keyboards/kc60/rules.mk
index d5b94fb83..e4f590b1b 100644
--- a/keyboards/kc60/rules.mk
+++ b/keyboards/kc60/rules.mk
@@ -66,3 +66,5 @@ MIDI_ENABLE = no # MIDI controls
66UNICODE_ENABLE = no # Unicode 66UNICODE_ENABLE = no # Unicode
67BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID 67BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
68AUDIO_ENABLE = no # Audio output on port C6 68AUDIO_ENABLE = no # Audio output on port C6
69
70LAYOUTS = 60_ansi \ No newline at end of file