aboutsummaryrefslogtreecommitdiff
path: root/keyboards/handwired/qc60
diff options
context:
space:
mode:
authorMichael Pio <mfmayol@up.edu.ph>2018-07-25 23:18:36 +0800
committerDrashna Jaelre <drashna@live.com>2018-07-25 08:18:36 -0700
commitc14e297ad586fa5686d51fdf2618fa87803a67c4 (patch)
treeb79e6ab6856feb4481780a0fe54962476f69f286 /keyboards/handwired/qc60
parent9ce35e823b945aca427f11e1a4ae26d6ea672ff4 (diff)
downloadqmk_firmware-c14e297ad586fa5686d51fdf2618fa87803a67c4.tar.gz
qmk_firmware-c14e297ad586fa5686d51fdf2618fa87803a67c4.zip
Keyboard: Add QC60 (#3472)
* Added initial files for QC60 prototype * renamed all 'keymap' to 'layout' * renamed layout macros to suggested naming convention of LAYOUT_macro_description * replaced boilerplate * removed rules.mk from keymap folders * replaced 'qc60/rev1' with 'qc60/proto' * replaced more boilerplate * renamed DEFAULT_FOLDER to point at the correct folder * updated readme
Diffstat (limited to 'keyboards/handwired/qc60')
-rw-r--r--keyboards/handwired/qc60/README.md22
-rw-r--r--keyboards/handwired/qc60/config.h24
-rw-r--r--keyboards/handwired/qc60/info.json87
-rw-r--r--keyboards/handwired/qc60/keymaps/default/config.h5
-rw-r--r--keyboards/handwired/qc60/keymaps/default/keymap.c39
-rw-r--r--keyboards/handwired/qc60/keymaps/wntrmln/config.h5
-rw-r--r--keyboards/handwired/qc60/keymaps/wntrmln/keymap.c50
-rw-r--r--keyboards/handwired/qc60/proto/config.h14
-rw-r--r--keyboards/handwired/qc60/proto/proto.c21
-rw-r--r--keyboards/handwired/qc60/proto/proto.h201
-rw-r--r--keyboards/handwired/qc60/proto/rules.mk1
-rw-r--r--keyboards/handwired/qc60/qc60.c1
-rw-r--r--keyboards/handwired/qc60/qc60.h26
-rw-r--r--keyboards/handwired/qc60/rules.mk68
14 files changed, 564 insertions, 0 deletions
diff --git a/keyboards/handwired/qc60/README.md b/keyboards/handwired/qc60/README.md
new file mode 100644
index 000000000..85570a8a7
--- /dev/null
+++ b/keyboards/handwired/qc60/README.md
@@ -0,0 +1,22 @@
1QC60
2========
3
4![qc60 layout](https://i.imgur.com/BAW1VGc.png)
5
6A split 60% staggered keyboard made by Peioris.
7
8Keyboard Maintainer: [Peioris](https://github.com/coarse)
9Hardware Supported: [QC60 PCB](https://imgur.com/6tIxJ1N), Pro Micro
10Hardware Availability: N/A at the moment
11
12Handwiring Resources: [Pro Micro Wiring](https://imgur.com/UycEYlG), [Keymapping](http://www.keyboard-layout-editor.com/#/gists/a54720ecfd934155b179657938e8e87b)
13
14Make example for this keyboard (after setting up your build environment):
15
16 make handwired/qc60/proto:default
17
18Example of flashing this keyboard:
19
20 make handwired/qc60/proto:avrdude
21
22See [build environment setup](https://docs.qmk.fm/build_environment_setup.html) then the [make instructions](https://docs.qmk.fm/make_instructions.html) for more information.
diff --git a/keyboards/handwired/qc60/config.h b/keyboards/handwired/qc60/config.h
new file mode 100644
index 000000000..3b6f84390
--- /dev/null
+++ b/keyboards/handwired/qc60/config.h
@@ -0,0 +1,24 @@
1#pragma once
2
3#include "config_common.h"
4
5/* USB Device descriptor parameter */
6#define VENDOR_ID 0xFEED
7#define PRODUCT_ID 0x0C60
8#define DEVICE_VER 0x00C6
9#define MANUFACTURER PeiorisBoards
10#define PRODUCT QC60
11#define DESCRIPTION Split 60% staggered keyboard
12
13/* key matrix size */
14// Rows are doubled-up
15#define MATRIX_ROWS 10
16#define MATRIX_COLS 8
17
18/* Set 0 if debouncing isn't needed */
19#define DEBOUNCING_DELAY 5
20
21/* key combination for command */
22#define IS_COMMAND() ( \
23 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
24)
diff --git a/keyboards/handwired/qc60/info.json b/keyboards/handwired/qc60/info.json
new file mode 100644
index 000000000..b39ec587b
--- /dev/null
+++ b/keyboards/handwired/qc60/info.json
@@ -0,0 +1,87 @@
1{
2 "keyboard_name": "QC60",
3 "url": "",
4 "maintainer": "coarse",
5 "width": 15,
6 "height": 5,
7 "layouts": {
8 "LAYOUT_ANSI_DEFAULT": {
9 "key_count": 64,
10 "layout": [
11 {"label":"Esc", "x":0, "y":0},
12 {"label":"1", "x":1, "y":0},
13 {"label":"2", "x":2, "y":0},
14 {"label":"3", "x":3, "y":0},
15 {"label":"4", "x":4, "y":0},
16 {"label":"5", "x":5, "y":0},
17 {"label":"6", "x":6, "y":0},
18
19 {"label":"7", "x":7, "y":0},
20 {"label":"8", "x":8, "y":0},
21 {"label":"9", "x":9, "y":0},
22 {"label":"0", "x":10, "y":0},
23 {"label":"-", "x":11, "y":0},
24 {"label":"=", "x":12, "y":0},
25 {"label":"Backspace", "x":13, "y":0, "w":2.0},
26
27 {"label":"Tab", "x":0, "y":1, "w":1.5},
28 {"label":"Q", "x":1.5, "y":1},
29 {"label":"W", "x":2.5, "y":1},
30 {"label":"E", "x":3.5, "y":1},
31 {"label":"R", "x":4.5, "y":1},
32 {"label":"T", "x":5.5, "y":1},
33
34 {"label":"Y", "x":6.5, "y":1},
35 {"label":"U", "x":7.5, "y":1},
36 {"label":"I", "x":8.5, "y":1},
37 {"label":"O", "x":9.5, "y":1},
38 {"label":"P", "x":10.5, "y":1},
39 {"label":"[", "x":11.5, "y":1},
40 {"label":"]", "x":12.5, "y":1},
41 {"label":"\\", "x":13.5, "y":1, "w":1.5},
42
43 {"label":"CapsLock", "x":0, "y":2, "w":1.75},
44 {"label":"A", "x":1.75, "y":2},
45 {"label":"S", "x":2.75, "y":2},
46 {"label":"D", "x":3.75, "y":2},
47 {"label":"F", "x":4.75, "y":2},
48 {"label":"G", "x":5.75, "y":2},
49
50 {"label":"H", "x":6.75, "y":2},
51 {"label":"J", "x":7.75, "y":2},
52 {"label":"K", "x":8.75, "y":2},
53 {"label":"L", "x":9.75, "y":2},
54 {"label":";", "x":10.75, "y":2},
55 {"label":"'", "x":11.75, "y":2},
56 {"label":"Enter", "x":12.75, "y":2, "w":2.25},
57
58 {"label":"Shift", "x":0, "y":3, "w":2.25},
59 {"label":"Z", "x":2.25, "y":3},
60 {"label":"X", "x":3.25, "y":3},
61 {"label":"C", "x":4.25, "y":3},
62 {"label":"V", "x":5.25, "y":3},
63 {"label":"B", "x":6.25, "y":3},
64
65 {"label":"N", "x":7.25, "y":3},
66 {"label":"M", "x":8.25, "y":3},
67 {"label":",", "x":9.25, "y":3},
68 {"label":".", "x":10.25, "y":3},
69 {"label":"/", "x":11.25, "y":3},
70 {"label":"Shift", "x":12.25, "y":3, "w":2.75},
71
72 {"label":"Ctrl", "x":0, "y":4, "w":1.25},
73 {"label":"Win", "x":1.25, "y":4, "w":1.25},
74 {"label":"Alt", "x":2.5, "y":4, "w":1.25},
75 {"x":3.75, "y":4, "w":2.75},
76 {"x":6.5, "y":4, "w":1.25},
77
78 {"x":7.75, "y":4, "w":1.25},
79 {"x":9, "y":4, "w":2.0},
80 {"label":"Alt", "x":11, "y":4},
81 {"label":"Win", "x":12, "y":4},
82 {"label":"Menu", "x":13, "y":4},
83 {"label":"Ctrl", "x":14, "y":4}
84 ]
85 }
86 }
87} \ No newline at end of file
diff --git a/keyboards/handwired/qc60/keymaps/default/config.h b/keyboards/handwired/qc60/keymaps/default/config.h
new file mode 100644
index 000000000..6202f57ec
--- /dev/null
+++ b/keyboards/handwired/qc60/keymaps/default/config.h
@@ -0,0 +1,5 @@
1#pragma once
2
3#define USE_I2C
4
5#define MASTER_LEFT
diff --git a/keyboards/handwired/qc60/keymaps/default/keymap.c b/keyboards/handwired/qc60/keymaps/default/keymap.c
new file mode 100644
index 000000000..bafaf5058
--- /dev/null
+++ b/keyboards/handwired/qc60/keymaps/default/keymap.c
@@ -0,0 +1,39 @@
1/* Copyright 2018 Michael Pio Mayol <mfmayol@up.edu.ph>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include QMK_KEYBOARD_H
18
19extern keymap_config_t keymap_config;
20
21// Each layer gets a name for readability, which is then used in the keymap matrix below.
22// The underscores don't mean anything - you can have a layer called STUFF or any other name.
23// Layer names don't all need to be of the same length, obviously, and you can also skip them
24// entirely and just use numbers.
25#define _BASE 0
26
27#define _______ KC_TRNS
28#define XXXXXXX KC_NO
29
30const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
31 [_BASE] = LAYOUT_ansi_default(
32 KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, \
33 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, \
34 KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, \
35 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, \
36 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, RGB_TOG, KC_RGHT, KC_SPC, KC_RALT, KC_UP, KC_DOWN, KC_RCTL
37 ),
38
39};
diff --git a/keyboards/handwired/qc60/keymaps/wntrmln/config.h b/keyboards/handwired/qc60/keymaps/wntrmln/config.h
new file mode 100644
index 000000000..fabebda53
--- /dev/null
+++ b/keyboards/handwired/qc60/keymaps/wntrmln/config.h
@@ -0,0 +1,5 @@
1#pragma once
2
3#define USE_SERIAL
4
5#define MASTER_LEFT
diff --git a/keyboards/handwired/qc60/keymaps/wntrmln/keymap.c b/keyboards/handwired/qc60/keymaps/wntrmln/keymap.c
new file mode 100644
index 000000000..f99635d53
--- /dev/null
+++ b/keyboards/handwired/qc60/keymaps/wntrmln/keymap.c
@@ -0,0 +1,50 @@
1/* Copyright 2018 Michael Pio Mayol <mfmayol@up.edu.ph>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include QMK_KEYBOARD_H
18
19extern keymap_config_t keymap_config;
20
21// Each layer gets a name for readability, which is then used in the keymap matrix below.
22// The underscores don't mean anything - you can have a layer called STUFF or any other name.
23// Layer names don't all need to be of the same length, obviously, and you can also skip them
24// entirely and just use numbers.
25#define _BASE 0
26#define _FN 1
27
28#define _______ KC_TRNS
29#define XXXXXXX KC_NO
30
31#define FN MO(_FN)
32
33const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
34 [_BASE] = LAYOUT_hhkb_split_lshift(
35 KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_GRV, KC_DEL, \
36 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, \
37 KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, \
38 KC_LSFT, KC_RSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_CAPS, \
39 FN, KC_LALT, KC_SPC, KC_F13, KC_BSLS, KC_SPC, KC_RALT, KC_LGUI
40 ),
41
42 [_FN] = LAYOUT_hhkb_split_lshift(
43 RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
44 _______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
45 _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
46 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
47 _______, _______, _______, KC_NLCK, _______, _______, _______, _______
48 ),
49
50};
diff --git a/keyboards/handwired/qc60/proto/config.h b/keyboards/handwired/qc60/proto/config.h
new file mode 100644
index 000000000..81466b019
--- /dev/null
+++ b/keyboards/handwired/qc60/proto/config.h
@@ -0,0 +1,14 @@
1#pragma once
2
3#include "config_common.h"
4
5// wiring of each half
6#define MATRIX_ROW_PINS { F4, F5, C6, D7, E6 }
7#define MATRIX_COL_PINS { F7, F6, B1, B3, B2, B6, B5, B4 }
8#define DIODE_DIRECTION ROW2COL
9
10/* ws2812 RGB LED */
11#define RGB_DI_PIN D3
12#define RGBLED_NUM 1 // Number of LEDs
13// #define ws2812_PORTREG PORTD
14// #define ws2812_DDRREG DDRD
diff --git a/keyboards/handwired/qc60/proto/proto.c b/keyboards/handwired/qc60/proto/proto.c
new file mode 100644
index 000000000..a6031d772
--- /dev/null
+++ b/keyboards/handwired/qc60/proto/proto.c
@@ -0,0 +1,21 @@
1/* Copyright 2018 Michael Pio Mayol <mfmayol@up.edu.ph>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include "qc60.h"
18
19void matrix_init_kb(void) {
20 matrix_init_user();
21};
diff --git a/keyboards/handwired/qc60/proto/proto.h b/keyboards/handwired/qc60/proto/proto.h
new file mode 100644
index 000000000..191e8150a
--- /dev/null
+++ b/keyboards/handwired/qc60/proto/proto.h
@@ -0,0 +1,201 @@
1/* Copyright 2018 Michael Pio Mayol <mfmayol@up.edu.ph>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#ifndef PROTO_H
18#define PROTO_H
19
20#include "qc60.h"
21
22#include "quantum.h"
23
24// readability
25#define XXX KC_NO
26
27/* Split Backspace
28 * {R07, XXX, R05, R04, R03, R02, R01, R00}
29 *
30 * Split Right Shift
31 * {R37, R36, R35, R34, R33, R32, R31, XXX}
32 *
33 * Split Left Shift
34 * {L30, L31, L32, L33, L34, L35, L36, XXX}
35 *
36 * 6-key Bottom-left row
37 * {R47, R46, R45, R44, R43, R42, XXX, XXX}
38 */
39
40#define LAYOUT( \
41 L00, L01, L02, L03, L04, L05, L06, R00, R01, R02, R03, R04, R05, R06, R07, \
42 L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, R16, R17, \
43 L20, L21, L22, L23, L24, L25, R21, R22, R23, R24, R25, R26, R27, \
44 L30, L31, L32, L33, L34, L35, L36, R31, R32, R33, R34, R35, R36, R37, \
45 L40, L41, L42, L43, L44, R43, R44, R42, R45, R46, R47 \
46) \
47{ \
48 {L00, L01, L02, L03, L04, L05, L06, XXX}, \
49 {L10, L11, L12, L13, L14, L15, XXX, XXX}, \
50 {L20, L21, L22, L23, L24, L25, XXX, XXX}, \
51 {L30, L31, L32, L33, L34, L35, L36, XXX}, \
52 {L40, L41, L42, L43, L44, XXX, XXX, XXX}, \
53 {R07, XXX, R05, R04, R03, R02, R01, R00}, \
54 {R17, R16, R15, R14, R13, R12, R11, R10}, \
55 {R27, R26, R25, R24, R23, R22, R21, XXX}, \
56 {R37, R36, R35, R34, R33, R32, R31, XXX}, \
57 {R47, R46, R45, R44, R43, R42, XXX, XXX}, \
58}
59
60#define LAYOUT_ansi_default( \
61 L00, L01, L02, L03, L04, L05, L06, R00, R01, R02, R03, R04, R05, R07, \
62 L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, R16, R17, \
63 L20, L21, L22, L23, L24, L25, R21, R22, R23, R24, R25, R26, R27, \
64 L31, L32, L33, L34, L35, L36, R31, R32, R33, R34, R35, R36, \
65 L40, L41, L42, L43, L44, R43, R44, R42, R45, R46, R47 \
66) \
67{ \
68 {L00, L01, L02, L03, L04, L05, L06, XXX}, \
69 {L10, L11, L12, L13, L14, L15, XXX, XXX}, \
70 {L20, L21, L22, L23, L24, L25, XXX, XXX}, \
71 {XXX, L31, L32, L33, L34, L35, L36, XXX}, \
72 {L40, L41, L42, L43, L44, XXX, XXX, XXX}, \
73 {R07, XXX, R05, R04, R03, R02, R01, R00}, \
74 {R17, R16, R15, R14, R13, R12, R11, R10}, \
75 {R27, R26, R25, R24, R23, R22, R21, XXX}, \
76 {XXX, R36, R35, R34, R33, R32, R31, XXX}, \
77 {R47, R46, R45, R44, R43, R42, XXX, XXX}, \
78}
79
80#define LAYOUT_ansi_alt( \
81 L00, L01, L02, L03, L04, L05, L06, R00, R01, R02, R03, R04, R05, R07, \
82 L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, R16, R17, \
83 L20, L21, L22, L23, L24, L25, R21, R22, R23, R24, R25, R26, R27, \
84 L31, L32, L33, L34, L35, L36, R31, R32, R33, R34, R35, R36, \
85 L40, L41, L42, L43, L44, R43, R44, R45, R46, R47 \
86) \
87{ \
88 {L00, L01, L02, L03, L04, L05, L06, XXX}, \
89 {L10, L11, L12, L13, L14, L15, XXX, XXX}, \
90 {L20, L21, L22, L23, L24, L25, XXX, XXX}, \
91 {XXX, L31, L32, L33, L34, L35, L36, XXX}, \
92 {L40, L41, L42, L43, L44, XXX, XXX, XXX}, \
93 {R07, XXX, R05, R04, R03, R02, R01, R00}, \
94 {R17, R16, R15, R14, R13, R12, R11, R10}, \
95 {R27, R26, R25, R24, R23, R22, R21, XXX}, \
96 {XXX, R36, R35, R34, R33, R32, R31, XXX}, \
97 {R47, R46, R45, R44, R43, XXX, XXX, XXX}, \
98}
99
100#define LAYOUT_iso_default( \
101 L00, L01, L02, L03, L04, L05, L06, R00, R01, R02, R03, R04, R05, R07, \
102 L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, R16, \
103 L20, L21, L22, L23, L24, L25, R21, R22, R23, R24, R25, R26, R17, R27, \
104 L31, L32, L33, L34, L35, L36, R31, R32, R33, R34, R35, R36, \
105 L40, L41, L42, L43, L44, R43, R44, R42, R45, R46, R47 \
106) \
107{ \
108 {L00, L01, L02, L03, L04, L05, L06, XXX}, \
109 {L10, L11, L12, L13, L14, L15, XXX, XXX}, \
110 {L20, L21, L22, L23, L24, L25, XXX, XXX}, \
111 {XXX, L31, L32, L33, L34, L35, L36, XXX}, \
112 {L40, L41, L42, L43, L44, XXX, XXX, XXX}, \
113 {R07, XXX, R05, R04, R03, R02, R01, R00}, \
114 {R17, R16, R15, R14, R13, R12, R11, R10}, \
115 {R27, R26, R25, R24, R23, R22, R21, XXX}, \
116 {XXX, R36, R35, R34, R33, R32, R31, XXX}, \
117 {R47, R46, R45, R44, R43, R42, XXX, XXX}, \
118}
119
120#define LAYOUT_iso_alt( \
121 L00, L01, L02, L03, L04, L05, L06, R00, R01, R02, R03, R04, R05, R07, \
122 L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, R16, R17, \
123 L20, L21, L22, L23, L24, L25, R21, R22, R23, R24, R25, R26, R27, \
124 L31, L32, L33, L34, L35, L36, R31, R32, R33, R34, R35, R36, \
125 L40, L41, L42, L43, L44, R43, R44, R45, R46, R47 \
126) \
127{ \
128 {L00, L01, L02, L03, L04, L05, L06, XXX}, \
129 {L10, L11, L12, L13, L14, L15, XXX, XXX}, \
130 {L20, L21, L22, L23, L24, L25, XXX, XXX}, \
131 {XXX, L31, L32, L33, L34, L35, L36, XXX}, \
132 {L40, L41, L42, L43, L44, XXX, XXX, XXX}, \
133 {R07, XXX, R05, R04, R03, R02, R01, R00}, \
134 {R17, R16, R15, R14, R13, R12, R11, R10}, \
135 {R27, R26, R25, R24, R23, R22, R21, XXX}, \
136 {XXX, R36, R35, R34, R33, R32, R31, XXX}, \
137 {R47, R46, R45, R44, R43, XXX, XXX, XXX}, \
138}
139
140#define LAYOUT_hhkb_default( \
141 L00, L01, L02, L03, L04, L05, L06, R00, R01, R02, R03, R04, R05, R06, R07, \
142 L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, R16, R17, \
143 L20, L21, L22, L23, L24, L25, R21, R22, R23, R24, R25, R26, R27, \
144 L31, L32, L33, L34, L35, L36, R31, R32, R33, R34, R35, R36, R37, \
145 L41, L42, L43, L44, R43, R44, R45, R46 \
146) \
147{ \
148 {L00, L01, L02, L03, L04, L05, L06, XXX}, \
149 {L10, L11, L12, L13, L14, L15, XXX, XXX}, \
150 {L20, L21, L22, L23, L24, L25, XXX, XXX}, \
151 {XXX, L31, L32, L33, L34, L35, L36, XXX}, \
152 {XXX, L41, L42, L43, L44, XXX, XXX, XXX}, \
153 {R07, R06, R05, R04, R03, R02, R01, R00}, \
154 {R17, R16, R15, R14, R13, R12, R11, R10}, \
155 {R27, R26, R25, R24, R23, R22, R21, XXX}, \
156 {R37, R36, R35, R34, R33, R32, R31, XXX}, \
157 {XXX, R46, R45, R44, R43, XXX, XXX, XXX}, \
158}
159
160#define LAYOUT_hhkb_split_lshift( \
161 L00, L01, L02, L03, L04, L05, L06, R00, R01, R02, R03, R04, R05, R06, R07, \
162 L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, R16, R17, \
163 L20, L21, L22, L23, L24, L25, R21, R22, R23, R24, R25, R26, R27, \
164 L30, L31, L32, L33, L34, L35, L36, R31, R32, R33, R34, R35, R36, R37, \
165 L41, L42, L43, L44, R43, R44, R45, R46 \
166) \
167{ \
168 {L00, L01, L02, L03, L04, L05, L06, XXX}, \
169 {L10, L11, L12, L13, L14, L15, XXX, XXX}, \
170 {L20, L21, L22, L23, L24, L25, XXX, XXX}, \
171 {L30, L31, L32, L33, L34, L35, L36, XXX}, \
172 {XXX, L41, L42, L43, L44, XXX, XXX, XXX}, \
173 {R07, R06, R05, R04, R03, R02, R01, R00}, \
174 {R17, R16, R15, R14, R13, R12, R11, R10}, \
175 {R27, R26, R25, R24, R23, R22, R21, XXX}, \
176 {R37, R36, R35, R34, R33, R32, R31, XXX}, \
177 {XXX, R46, R45, R44, R43, XXX, XXX, XXX}, \
178}
179
180#define LAYOUT_wkl_default( \
181 L00, L01, L02, L03, L04, L05, L06, R00, R01, R02, R03, R04, R05, R07, \
182 L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, R16, R17, \
183 L20, L21, L22, L23, L24, L25, R21, R22, R23, R24, R25, R26, R27, \
184 L31, L32, L33, L34, L35, L36, R31, R32, R33, R34, R35, R36, \
185 L40, L42, L43, L44, R43, R44, R45, R47 \
186) \
187{ \
188 {L00, L01, L02, L03, L04, L05, L06, XXX}, \
189 {L10, L11, L12, L13, L14, L15, XXX, XXX}, \
190 {L20, L21, L22, L23, L24, L25, XXX, XXX}, \
191 {XXX, L31, L32, L33, L34, L35, L36, XXX}, \
192 {L40, XXX, L42, L43, L44, XXX, XXX, XXX}, \
193 {R07, XXX, R05, R04, R03, R02, R01, R00}, \
194 {R17, R16, R15, R14, R13, R12, R11, R10}, \
195 {R27, R26, R25, R24, R23, R22, R21, XXX}, \
196 {XXX, R36, R35, R34, R33, R32, R31, XXX}, \
197 {R47, XXX, R45, R44, R43, XXX, XXX, XXX}, \
198}
199
200
201#endif
diff --git a/keyboards/handwired/qc60/proto/rules.mk b/keyboards/handwired/qc60/proto/rules.mk
new file mode 100644
index 000000000..7ad666d1a
--- /dev/null
+++ b/keyboards/handwired/qc60/proto/rules.mk
@@ -0,0 +1 @@
RGBLIGHT_ENABLE = yes \ No newline at end of file
diff --git a/keyboards/handwired/qc60/qc60.c b/keyboards/handwired/qc60/qc60.c
new file mode 100644
index 000000000..dfa77cf08
--- /dev/null
+++ b/keyboards/handwired/qc60/qc60.c
@@ -0,0 +1 @@
#include "qc60.h"
diff --git a/keyboards/handwired/qc60/qc60.h b/keyboards/handwired/qc60/qc60.h
new file mode 100644
index 000000000..55c83aca5
--- /dev/null
+++ b/keyboards/handwired/qc60/qc60.h
@@ -0,0 +1,26 @@
1#ifndef QC60_H
2#define QC60_H
3
4#include "quantum.h"
5
6#ifdef KEYBOARD_handwired_qc60_proto
7 #include "proto.h"
8#endif
9
10
11// Used to create a keymap using only KC_ prefixed keys
12#define LAYOUT_kc( \
13 LA1, LA2, LA3, LA4, LA5, LA6, RA1, RA2, RA3, RA4, RA5, RA6, RA7, \
14 LB1, LB2, LB3, LB4, LB5, LB6, RB1, RB2, RB3, RB4, RB5, RB7, \
15 LC1, LC2, LC3, LC4, LC5, LC6, RC1, RC3, RC4, RC5, RC6, RC7, \
16 LD1, LD2, LD3, LD4, LD5, RD1, RD4, RD5, RD6, RD7 \
17 ) \
18 LAYOUT( \
19 KC_##LA1, KC_##LA2, KC_##LA3, KC_##LA4, KC_##LA5, KC_##LA6, KC_##RA1, KC_##RA2, KC_##RA3, KC_##RA4, KC_##RA5, KC_##RA6, KC_##RA7, \
20 KC_##LB1, KC_##LB2, KC_##LB3, KC_##LB4, KC_##LB5, KC_##LB6, KC_##RB1, KC_##RB2, KC_##RB3, KC_##RB4, KC_##RB5, KC_##RB7, \
21 KC_##LC1, KC_##LC2, KC_##LC3, KC_##LC4, KC_##LC5, KC_##LC6, KC_##RC1, KC_##RC3, KC_##RC4, KC_##RC5, KC_##RC6, KC_##RC7, \
22 KC_##LD1, KC_##LD2, KC_##LD3, KC_##LD4, KC_##LD5, KC_##RD1, KC_##RD4, KC_##RD5, KC_##RD6, KC_##RD7 \
23 )
24
25
26#endif
diff --git a/keyboards/handwired/qc60/rules.mk b/keyboards/handwired/qc60/rules.mk
new file mode 100644
index 000000000..1be83d5f8
--- /dev/null
+++ b/keyboards/handwired/qc60/rules.mk
@@ -0,0 +1,68 @@
1# MCU name
2#MCU = at90usb1287
3MCU = atmega32u4
4
5# Processor frequency.
6# This will define a symbol, F_CPU, in all source code files equal to the
7# processor frequency in Hz. You can then use this symbol in your source code to
8# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
9# automatically to create a 32-bit value in your source code.
10#
11# This will be an integer division of F_USB below, as it is sourced by
12# F_USB after it has run through any CPU prescalers. Note that this value
13# does not *change* the processor frequency - it should merely be updated to
14# reflect the processor speed set externally so that the code can use accurate
15# software delays.
16F_CPU = 16000000
17
18#
19# LUFA specific
20#
21# Target architecture (see library "Board Types" documentation).
22ARCH = AVR8
23
24# Input clock frequency.
25# This will define a symbol, F_USB, in all source code files equal to the
26# input clock frequency (before any prescaling is performed) in Hz. This value may
27# differ from F_CPU if prescaling is used on the latter, and is required as the
28# raw input clock is fed directly to the PLL sections of the AVR for high speed
29# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
30# at the end, this will be done automatically to create a 32-bit value in your
31# source code.
32#
33# If no clock division is performed on the input clock inside the AVR (via the
34# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
35F_USB = $(F_CPU)
36
37# Bootloader
38# This definition is optional, and if your keyboard supports multiple bootloaders of
39# different sizes, comment this out, and the correct address will be loaded
40# automatically (+60). See bootloader.mk for all options.
41BOOTLOADER = caterina
42
43# Interrupt driven control endpoint task(+60)
44OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
45
46# Build Options
47# change to "no" to disable the options, or define them in the Makefile in
48# the appropriate keymap folder that will get included automatically
49#
50BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
51MOUSEKEY_ENABLE = no # Mouse keys(+4700)
52EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
53CONSOLE_ENABLE = no # Console for debug(+400)
54COMMAND_ENABLE = no # Commands for debug and configuration
55NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
56BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
57MIDI_ENABLE = no # MIDI controls
58AUDIO_ENABLE = no # Audio output on port C6
59UNICODE_ENABLE = no # Unicode
60BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
61RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time.
62
63SPLIT_KEYBOARD = yes
64
65# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
66SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
67
68DEFAULT_FOLDER = handwired/qc60/proto