aboutsummaryrefslogtreecommitdiff
path: root/keyboards/clueboard/66
diff options
context:
space:
mode:
authorskullydazed <skullydazed@users.noreply.github.com>2019-01-23 09:25:32 -0800
committerGitHub <noreply@github.com>2019-01-23 09:25:32 -0800
commitd1f735b6d2739295faf932dbb61e3c8b4c0b2898 (patch)
treeb1fd49248ef518b0252571d1812cd060860a1248 /keyboards/clueboard/66
parent9667c10477fb9bc91b9355dc4969ba8a5769871e (diff)
downloadqmk_firmware-d1f735b6d2739295faf932dbb61e3c8b4c0b2898.tar.gz
qmk_firmware-d1f735b6d2739295faf932dbb61e3c8b4c0b2898.zip
Clueboard refresh (#4902)
* Cluecard: refactor - renamed layout macro KEYMAP to LAYOUT - reformatted layout macro to more closely resemble physical device layout - keymaps now use #include QMK_KEYBOARD_H - config.h files updated to use #pragma once method - deleted outdated QUANTUM_DIR code blocks from rules.mk files - white space changes on rules.mk files (alignment/readability) * Cluecard: Configurator support * Cluecard: readme update - added image - updated Docs links * Clueboard 66% HotSwap: corrected matrix and Configurator data - removed k31 and k84 from LAYOUT - both appear to be unsupported for this PCB according to images on clueboard.co - updated block comment mock-ups to match changes - rebuilt info.json file - delete removed keys from default keymap.c * Clueboard 66% HotSwap: readme update - fix make example - updated Docs links * Clueboard 66% HotSwap: 66_ansi keymap update Updated to use #include QMK_KEYBOARD_H * Clueboard 60% refactor - renamed layout macro KEYMAP to LAYOUT_all - renamed layout macro KEYMAP_AEK to LAYOUT_aek - removed redundant KC_TRNS definitions from keymaps - all keymaps now use #include QMK_KEYBOARD_H * Clueboard 17%: refactor * Clueboard 17%: Configurator support * Clueboard 17%: update Docs links in readme * Cleanup the 2x1800 files * Update Clueboard 60% to standard matrix * Update the clueboard default keymaps * Refresh and update clueboard 17 * Add the 66% hotswap to Clueboard's readme * Clarify the 66% hotswap's readme * change the image to imgur * Update the clueboard 66 to follow modern standards * update clueboard 66_hotswap to follow modern practices * Move the logo to imgur * update clueboard/card to follow modern practices * remove clueboard/66 as a valid make target * Address comments in #4902 * fix user keymaps after the changes
Diffstat (limited to 'keyboards/clueboard/66')
-rw-r--r--keyboards/clueboard/66/66.c1
-rw-r--r--keyboards/clueboard/66/66.h16
-rw-r--r--keyboards/clueboard/66/config.h63
-rw-r--r--keyboards/clueboard/66/info.json29
-rw-r--r--keyboards/clueboard/66/keymaps/66_ansi/keymap.c2
-rw-r--r--keyboards/clueboard/66/keymaps/66_ansi/readme.md4
-rw-r--r--keyboards/clueboard/66/keymaps/66_iso/keymap.c2
-rw-r--r--keyboards/clueboard/66/keymaps/66_iso/readme.md4
-rw-r--r--keyboards/clueboard/66/keymaps/bloodlvst/config.h6
-rw-r--r--keyboards/clueboard/66/keymaps/bloodlvst/keymap.c2
-rw-r--r--keyboards/clueboard/66/keymaps/caps_fn/keymap.c2
-rw-r--r--keyboards/clueboard/66/keymaps/caps_fn/readme.md2
-rw-r--r--keyboards/clueboard/66/keymaps/colemak/keymap.c2
-rw-r--r--keyboards/clueboard/66/keymaps/default/keymap.c2
-rw-r--r--keyboards/clueboard/66/keymaps/default/readme.md4
-rw-r--r--keyboards/clueboard/66/keymaps/jokrik/keymap.c2
-rw-r--r--keyboards/clueboard/66/keymaps/mac_optimized/keymap.c2
-rw-r--r--keyboards/clueboard/66/keymaps/mac_optimized/readme.md2
-rw-r--r--keyboards/clueboard/66/keymaps/magicmonty/config.h7
-rw-r--r--keyboards/clueboard/66/keymaps/magicmonty/keymap.c2
-rw-r--r--keyboards/clueboard/66/keymaps/magicmonty/rules.mk1
-rw-r--r--keyboards/clueboard/66/keymaps/manofinterests/keymap.c2
-rw-r--r--keyboards/clueboard/66/keymaps/maximised/keymap.c2
-rw-r--r--keyboards/clueboard/66/keymaps/maximised/readme.md2
-rw-r--r--keyboards/clueboard/66/keymaps/mouse_keys/keymap.c2
-rw-r--r--keyboards/clueboard/66/keymaps/mouse_keys/readme.md2
-rw-r--r--keyboards/clueboard/66/keymaps/mrscooty/keymap.c2
-rw-r--r--keyboards/clueboard/66/keymaps/serubin/keymap.c2
-rw-r--r--keyboards/clueboard/66/keymaps/shift_fn/keymap.c2
-rw-r--r--keyboards/clueboard/66/keymaps/shift_fn/readme.md2
-rw-r--r--keyboards/clueboard/66/keymaps/smt/keymap.c2
-rw-r--r--keyboards/clueboard/66/keymaps/tetris/keymap.c2
-rw-r--r--keyboards/clueboard/66/keymaps/unix_optimized/keymap.c2
-rw-r--r--keyboards/clueboard/66/keymaps/unix_optimized/readme.md4
-rw-r--r--keyboards/clueboard/66/keymaps/win_optimized/keymap.c2
-rw-r--r--keyboards/clueboard/66/keymaps/win_optimized/readme.md4
-rw-r--r--keyboards/clueboard/66/keymaps/xyverz/config.h4
-rw-r--r--keyboards/clueboard/66/keymaps/xyverz/keymap.c2
-rw-r--r--keyboards/clueboard/66/readme.md4
-rw-r--r--keyboards/clueboard/66/rev1/config.h59
-rw-r--r--keyboards/clueboard/66/rev1/rev1.h8
-rw-r--r--keyboards/clueboard/66/rev1/rules.mk24
-rw-r--r--keyboards/clueboard/66/rev2/config.h53
-rw-r--r--keyboards/clueboard/66/rev2/rev2.h8
-rw-r--r--keyboards/clueboard/66/rev2/rules.mk23
-rw-r--r--keyboards/clueboard/66/rev3/config.h53
-rw-r--r--keyboards/clueboard/66/rev3/rev3.c4
-rw-r--r--keyboards/clueboard/66/rev3/rev3.h8
-rw-r--r--keyboards/clueboard/66/rev3/rules.mk24
-rw-r--r--keyboards/clueboard/66/rules.mk25
50 files changed, 261 insertions, 229 deletions
diff --git a/keyboards/clueboard/66/66.c b/keyboards/clueboard/66/66.c
deleted file mode 100644
index 15d7422f1..000000000
--- a/keyboards/clueboard/66/66.c
+++ /dev/null
@@ -1 +0,0 @@
1#include "66.h"
diff --git a/keyboards/clueboard/66/66.h b/keyboards/clueboard/66/66.h
deleted file mode 100644
index c8989983d..000000000
--- a/keyboards/clueboard/66/66.h
+++ /dev/null
@@ -1,16 +0,0 @@
1#ifndef CLUEBOARD_H
2#define CLUEBOARD_H
3
4#include "quantum.h"
5
6#ifdef KEYBOARD_clueboard_66_rev1
7 #include "rev1.h"
8#endif
9#ifdef KEYBOARD_clueboard_66_rev2
10 #include "rev2.h"
11#endif
12#ifdef KEYBOARD_clueboard_66_rev3
13 #include "rev3.h"
14#endif
15
16#endif
diff --git a/keyboards/clueboard/66/config.h b/keyboards/clueboard/66/config.h
deleted file mode 100644
index dff5c96d0..000000000
--- a/keyboards/clueboard/66/config.h
+++ /dev/null
@@ -1,63 +0,0 @@
1/*
2Copyright 2012 Jun Wako <wakojun@gmail.com>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#ifndef CLUEBOARD_66_CONFIG_H
19#define CLUEBOARD_66_CONFIG_H
20
21#include "config_common.h"
22
23/* USB Device descriptor parameter */
24#define VENDOR_ID 0xC1ED
25#define MANUFACTURER Clueboard
26#define PRODUCT Clueboard
27#define DESCRIPTION QMK keyboard firmware for Clueboard
28
29/* COL2ROW or ROW2COL */
30#define DIODE_DIRECTION COL2ROW
31
32/* Set 0 if debouncing isn't needed */
33#define DEBOUNCING_DELAY 5
34
35/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
36#define LOCKING_SUPPORT_ENABLE
37/* Locking resynchronize hack */
38#define LOCKING_RESYNC_ENABLE
39
40/* key combination for command */
41#define IS_COMMAND() ( \
42 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
43)
44
45/*
46 * Feature disable options
47 * These options are also useful to firmware size reduction.
48 */
49
50/* disable debug print */
51//#define NO_DEBUG
52
53/* disable print */
54//#define NO_PRINT
55
56/* disable action features */
57//#define NO_ACTION_LAYER
58//#define NO_ACTION_TAPPING
59//#define NO_ACTION_ONESHOT
60//#define NO_ACTION_MACRO
61//#define NO_ACTION_FUNCTION
62
63#endif
diff --git a/keyboards/clueboard/66/info.json b/keyboards/clueboard/66/info.json
index 1675ae761..05eb6627d 100644
--- a/keyboards/clueboard/66/info.json
+++ b/keyboards/clueboard/66/info.json
@@ -3,12 +3,33 @@
3 "width": 16.5, 3 "width": 16.5,
4 "height": 5, 4 "height": 5,
5 "layouts": { 5 "layouts": {
6 "KEYMAP": { 6 "LAYOUT": {
7 "layout": [{"x": 0, "y": 0, "w": 1, "label": "GRAVE"}, {"x": 1, "y": 0, "w": 1, "label": "1"}, {"x": 2, "y": 0, "w": 1, "label": "2"}, {"x": 3, "y": 0, "w": 1, "label": "3"}, {"x": 4, "y": 0, "w": 1, "label": "4"}, {"x": 5, "y": 0, "w": 1, "label": "5"}, {"x": 6, "y": 0, "w": 1, "label": "6"}, {"x": 7, "y": 0, "w": 1, "label": "7"}, {"x": 8, "y": 0, "w": 1, "label": "8"}, {"x": 9, "y": 0, "w": 1, "label": "9"}, {"x": 10, "y": 0, "w": 1, "label": "0"}, {"x": 11, "y": 0, "w": 1, "label": "DASH"}, {"x": 12, "y": 0, "w": 1, "label": "EQUALSIGN"}, {"x": 13, "y": 0, "w": 1, "label": "YEN"}, {"x": 14, "y": 0, "w": 1, "label": "BACKSPACE"}, {"x": 15.5, "y": 0, "w": 1, "label": "PAGEUP"}, {"x": 0, "y": 1, "w": 1.5, "label": "TAB"}, {"x": 1.5, "y": 1, "w": 1, "label": "Q"}, {"x": 2.5, "y": 1, "w": 1, "label": "W"}, {"x": 3.5, "y": 1, "w": 1, "label": "E"}, {"x": 4.5, "y": 1, "w": 1, "label": "R"}, {"x": 5.5, "y": 1, "w": 1, "label": "T"}, {"x": 6.5, "y": 1, "w": 1, "label": "Y"}, {"x": 7.5, "y": 1, "w": 1, "label": "U"}, {"x": 8.5, "y": 1, "w": 1, "label": "I"}, {"x": 9.5, "y": 1, "w": 1, "label": "O"}, {"x": 10.5, "y": 1, "w": 1, "label": "P"}, {"x": 11.5, "y": 1, "w": 1, "label": "LBRACKET"}, {"x": 12.5, "y": 1, "w": 1, "label": "RBRACKET"}, {"x": 13.5, "y": 1, "w": 1.5, "label": "BACKSLASH"}, {"x": 15.5, "y": 1, "w": 1, "label": "PAGEDOWN"}, {"x": 0, "y": 2, "w": 1.75, "label": "CAPSLOCK"}, {"x": 1.75, "y": 2, "w": 1, "label": "A"}, {"x": 2.75, "y": 2, "w": 1, "label": "S"}, {"x": 3.75, "y": 2, "w": 1, "label": "D"}, {"x": 4.75, "y": 2, "w": 1, "label": "F"}, {"x": 5.75, "y": 2, "w": 1, "label": "G"}, {"x": 6.75, "y": 2, "w": 1, "label": "H"}, {"x": 7.75, "y": 2, "w": 1, "label": "J"}, {"x": 8.75, "y": 2, "w": 1, "label": "K"}, {"x": 9.75, "y": 2, "w": 1, "label": "L"}, {"x": 10.75, "y": 2, "w": 1, "label": "SEMICOLON"}, {"x": 11.75, "y": 2, "w": 1, "label": "QUOTE"}, {"x": 12.75, "y": 2, "w": 1, "label": "ISOHASH"}, {"x": 13.75, "y": 2, "w": 1.25, "label": "ENTER"}, {"x": 0, "y": 3, "w": 1.25, "label": "LSHIFT"}, {"x": 1.25, "y": 3, "w": 1, "label": "ISOBACKSLASH"}, {"x": 2.25, "y": 3, "w": 1, "label": "Z"}, {"x": 3.25, "y": 3, "w": 1, "label": "X"}, {"x": 4.25, "y": 3, "w": 1, "label": "C"}, {"x": 5.25, "y": 3, "w": 1, "label": "V"}, {"x": 6.25, "y": 3, "w": 1, "label": "B"}, {"x": 7.25, "y": 3, "w": 1, "label": "N"}, {"x": 8.25, "y": 3, "w": 1, "label": "M"}, {"x": 9.25, "y": 3, "w": 1, "label": "COMMA"}, {"x": 10.25, "y": 3, "w": 1, "label": "PERIOD"}, {"x": 11.25, "y": 3, "w": 1, "label": "SLASH"}, {"x": 12.25, "y": 3, "w": 1, "label": "JPBACKSLASH"}, {"x": 13.25, "y": 3, "w": 1.25, "label": "RSHIFT"}, {"x": 14.5, "y": 3, "w": 1, "label": "UP"}, {"x": 0, "y": 4, "w": 1.25, "label": "LCTRL"}, {"x": 1.25, "y": 4, "w": 1, "label": "LALT"}, {"x": 2.25, "y": 4, "w": 1.25, "label": "LCMD"}, {"x": 3.5, "y": 4, "w": 1.25, "label": "MUHENKAN"}, {"x": 4.75, "y": 4, "w": 2, "label": "SPACE1"}, {"x": 6.75, "y": 4, "w": 2, "label": "SPACE2"}, {"x": 8.75, "y": 4, "w": 1.25, "label": "HENKAN"}, {"x": 10, "y": 4, "w": 1.25, "label": "RCMD"}, {"x": 11.25, "y": 4, "w": 1, "label": "RCTRL"}, {"x": 12.25, "y": 4, "w": 1.25, "label": "FN"}, {"x": 13.5, "y": 4, "w": 1, "label": "LEFT"}, {"x": 14.5, "y": 4, "w": 1, "label": "DOWN"}, {"x": 15.5, "y": 4, "w": 1, "label": "RIGHT"}] 7 "layout": [
8 {"x": 0, "y": 0, "w": 1, "label": "GRAVE"}, {"x": 1, "y": 0, "w": 1, "label": "1"}, {"x": 2, "y": 0, "w": 1, "label": "2"}, {"x": 3, "y": 0, "w": 1, "label": "3"}, {"x": 4, "y": 0, "w": 1, "label": "4"}, {"x": 5, "y": 0, "w": 1, "label": "5"}, {"x": 6, "y": 0, "w": 1, "label": "6"}, {"x": 7, "y": 0, "w": 1, "label": "7"}, {"x": 8, "y": 0, "w": 1, "label": "8"}, {"x": 9, "y": 0, "w": 1, "label": "9"}, {"x": 10, "y": 0, "w": 1, "label": "0"}, {"x": 11, "y": 0, "w": 1, "label": "DASH"}, {"x": 12, "y": 0, "w": 1, "label": "EQUALSIGN"}, {"x": 13, "y": 0, "w": 1, "label": "YEN"}, {"x": 14, "y": 0, "w": 1, "label": "BACKSPACE"}, {"x": 15.5, "y": 0, "w": 1, "label": "PAGEUP"},
9 {"x": 0, "y": 1, "w": 1.5, "label": "TAB"}, {"x": 1.5, "y": 1, "w": 1, "label": "Q"}, {"x": 2.5, "y": 1, "w": 1, "label": "W"}, {"x": 3.5, "y": 1, "w": 1, "label": "E"}, {"x": 4.5, "y": 1, "w": 1, "label": "R"}, {"x": 5.5, "y": 1, "w": 1, "label": "T"}, {"x": 6.5, "y": 1, "w": 1, "label": "Y"}, {"x": 7.5, "y": 1, "w": 1, "label": "U"}, {"x": 8.5, "y": 1, "w": 1, "label": "I"}, {"x": 9.5, "y": 1, "w": 1, "label": "O"}, {"x": 10.5, "y": 1, "w": 1, "label": "P"}, {"x": 11.5, "y": 1, "w": 1, "label": "LBRACKET"}, {"x": 12.5, "y": 1, "w": 1, "label": "RBRACKET"}, {"x": 13.5, "y": 1, "w": 1.5, "label": "BACKSLASH"}, {"x": 15.5, "y": 1, "w": 1, "label": "PAGEDOWN"},
10 {"x": 0, "y": 2, "w": 1.75, "label": "CAPSLOCK"}, {"x": 1.75, "y": 2, "w": 1, "label": "A"}, {"x": 2.75, "y": 2, "w": 1, "label": "S"}, {"x": 3.75, "y": 2, "w": 1, "label": "D"}, {"x": 4.75, "y": 2, "w": 1, "label": "F"}, {"x": 5.75, "y": 2, "w": 1, "label": "G"}, {"x": 6.75, "y": 2, "w": 1, "label": "H"}, {"x": 7.75, "y": 2, "w": 1, "label": "J"}, {"x": 8.75, "y": 2, "w": 1, "label": "K"}, {"x": 9.75, "y": 2, "w": 1, "label": "L"}, {"x": 10.75, "y": 2, "w": 1, "label": "SEMICOLON"}, {"x": 11.75, "y": 2, "w": 1, "label": "QUOTE"}, {"x": 12.75, "y": 2, "w": 1, "label": "ISOHASH"}, {"x": 13.75, "y": 2, "w": 1.25, "label": "ENTER"},
11 {"x": 0, "y": 3, "w": 1.25, "label": "LSHIFT"}, {"x": 1.25, "y": 3, "w": 1, "label": "ISOBACKSLASH"}, {"x": 2.25, "y": 3, "w": 1, "label": "Z"}, {"x": 3.25, "y": 3, "w": 1, "label": "X"}, {"x": 4.25, "y": 3, "w": 1, "label": "C"}, {"x": 5.25, "y": 3, "w": 1, "label": "V"}, {"x": 6.25, "y": 3, "w": 1, "label": "B"}, {"x": 7.25, "y": 3, "w": 1, "label": "N"}, {"x": 8.25, "y": 3, "w": 1, "label": "M"}, {"x": 9.25, "y": 3, "w": 1, "label": "COMMA"}, {"x": 10.25, "y": 3, "w": 1, "label": "PERIOD"}, {"x": 11.25, "y": 3, "w": 1, "label": "SLASH"}, {"x": 12.25, "y": 3, "w": 1, "label": "JPBACKSLASH"}, {"x": 13.25, "y": 3, "w": 1.25, "label": "RSHIFT"}, {"x": 14.5, "y": 3, "w": 1, "label": "UP"},
12 {"x": 0, "y": 4, "w": 1.25, "label": "LCTRL"}, {"x": 1.25, "y": 4, "w": 1, "label": "LALT"}, {"x": 2.25, "y": 4, "w": 1.25, "label": "LCMD"}, {"x": 3.5, "y": 4, "w": 1.25, "label": "MUHENKAN"}, {"x": 4.75, "y": 4, "w": 2, "label": "SPACE1"}, {"x": 6.75, "y": 4, "w": 2, "label": "SPACE2"}, {"x": 8.75, "y": 4, "w": 1.25, "label": "HENKAN"}, {"x": 10, "y": 4, "w": 1.25, "label": "RCMD"}, {"x": 11.25, "y": 4, "w": 1, "label": "RCTRL"}, {"x": 12.25, "y": 4, "w": 1.25, "label": "FN"}, {"x": 13.5, "y": 4, "w": 1, "label": "LEFT"}, {"x": 14.5, "y": 4, "w": 1, "label": "DOWN"}, {"x": 15.5, "y": 4, "w": 1, "label": "RIGHT"}
13 ]
8 }, 14 },
9 15
10 "LAYOUT_66_ansi": { 16 "LAYOUT_66_ansi": {
11 "layout": [{"label":"~", "x":0, "y":0}, {"label":"!", "x":1, "y":0}, {"label":"@", "x":2, "y":0}, {"label":"#", "x":3, "y":0}, {"label":"$", "x":4, "y":0}, {"label":"%", "x":5, "y":0}, {"label":"^", "x":6, "y":0}, {"label":"&", "x":7, "y":0}, {"label":"*", "x":8, "y":0}, {"label":"(", "x":9, "y":0}, {"label":")", "x":10, "y":0}, {"label":"_", "x":11, "y":0}, {"label":"+", "x":12, "y":0}, {"label":"Backspace", "x":13, "y":0, "w":2}, {"x":15.5, "y":0}, {"label":"Tab", "x":0, "y":1, "w":1.5}, {"label":"Q", "x":1.5, "y":1}, {"label":"W", "x":2.5, "y":1}, {"label":"E", "x":3.5, "y":1}, {"label":"R", "x":4.5, "y":1}, {"label":"T", "x":5.5, "y":1}, {"label":"Y", "x":6.5, "y":1}, {"label":"U", "x":7.5, "y":1}, {"label":"I", "x":8.5, "y":1}, {"label":"O", "x":9.5, "y":1}, {"label":"P", "x":10.5, "y":1}, {"label":"{", "x":11.5, "y":1}, {"label":"}", "x":12.5, "y":1}, {"label":"|", "x":13.5, "y":1, "w":1.5}, {"x":15.5, "y":1}, {"label":"Caps Lock", "x":0, "y":2, "w":1.75}, {"label":"A", "x":1.75, "y":2}, {"label":"S", "x":2.75, "y":2}, {"label":"D", "x":3.75, "y":2}, {"label":"F", "x":4.75, "y":2}, {"label":"G", "x":5.75, "y":2}, {"label":"H", "x":6.75, "y":2}, {"label":"J", "x":7.75, "y":2}, {"label":"K", "x":8.75, "y":2}, {"label":"L", "x":9.75, "y":2}, {"label":":", "x":10.75, "y":2}, {"label":"\"", "x":11.75, "y":2}, {"label":"Enter", "x":12.75, "y":2, "w":2.25}, {"label":"Shift", "x":0, "y":3, "w":2.25}, {"label":"Z", "x":2.25, "y":3}, {"label":"X", "x":3.25, "y":3}, {"label":"C", "x":4.25, "y":3}, {"label":"V", "x":5.25, "y":3}, {"label":"B", "x":6.25, "y":3}, {"label":"N", "x":7.25, "y":3}, {"label":"M", "x":8.25, "y":3}, {"label":"<", "x":9.25, "y":3}, {"label":">", "x":10.25, "y":3}, {"label":"?", "x":11.25, "y":3}, {"label":"Shift", "x":12.25, "y":3, "w":2.25}, {"x":14.5, "y":3}, {"label":"Ctrl", "x":0, "y":4, "w":1.25}, {"label":"Win", "x":1.25, "y":4, "w":1.25}, {"label":"Alt", "x":2.5, "y":4, "w":1.25}, {"x":3.75, "y":4, "w":6.25}, {"label":"Alt", "x":10, "y":4, "w":1.25}, {"label":"Win", "x":11.25, "y":4}, {"label":"Menu", "x":12.25, "y":4, "w":1.25}, {"x":13.5, "y":4}, {"x":14.5, "y":4}, {"x":15.5, "y":4}] 17 "layout": [
12 } 18 {"label":"~", "x":0, "y":0}, {"label":"!", "x":1, "y":0}, {"label":"@", "x":2, "y":0}, {"label":"#", "x":3, "y":0}, {"label":"$", "x":4, "y":0}, {"label":"%", "x":5, "y":0}, {"label":"^", "x":6, "y":0}, {"label":"&", "x":7, "y":0}, {"label":"*", "x":8, "y":0}, {"label":"(", "x":9, "y":0}, {"label":")", "x":10, "y":0}, {"label":"_", "x":11, "y":0}, {"label":"+", "x":12, "y":0}, {"label":"Backspace", "x":13, "y":0, "w":2}, {"x":15.5, "y":0},
19 {"label":"Tab", "x":0, "y":1, "w":1.5}, {"label":"Q", "x":1.5, "y":1}, {"label":"W", "x":2.5, "y":1}, {"label":"E", "x":3.5, "y":1}, {"label":"R", "x":4.5, "y":1}, {"label":"T", "x":5.5, "y":1}, {"label":"Y", "x":6.5, "y":1}, {"label":"U", "x":7.5, "y":1}, {"label":"I", "x":8.5, "y":1}, {"label":"O", "x":9.5, "y":1}, {"label":"P", "x":10.5, "y":1}, {"label":"{", "x":11.5, "y":1}, {"label":"}", "x":12.5, "y":1}, {"label":"|", "x":13.5, "y":1, "w":1.5}, {"x":15.5, "y":1},
20 {"label":"Caps Lock", "x":0, "y":2, "w":1.75}, {"label":"A", "x":1.75, "y":2}, {"label":"S", "x":2.75, "y":2}, {"label":"D", "x":3.75, "y":2}, {"label":"F", "x":4.75, "y":2}, {"label":"G", "x":5.75, "y":2}, {"label":"H", "x":6.75, "y":2}, {"label":"J", "x":7.75, "y":2}, {"label":"K", "x":8.75, "y":2}, {"label":"L", "x":9.75, "y":2}, {"label":":", "x":10.75, "y":2}, {"label":"\"", "x":11.75, "y":2}, {"label":"Enter", "x":12.75, "y":2, "w":2.25},
21 {"label":"Shift", "x":0, "y":3, "w":2.25}, {"label":"Z", "x":2.25, "y":3}, {"label":"X", "x":3.25, "y":3}, {"label":"C", "x":4.25, "y":3}, {"label":"V", "x":5.25, "y":3}, {"label":"B", "x":6.25, "y":3}, {"label":"N", "x":7.25, "y":3}, {"label":"M", "x":8.25, "y":3}, {"label":"<", "x":9.25, "y":3}, {"label":">", "x":10.25, "y":3}, {"label":"?", "x":11.25, "y":3}, {"label":"Shift", "x":12.25, "y":3, "w":2.25}, {"x":14.5, "y":3},
22 {"label":"Ctrl", "x":0, "y":4, "w":1.25}, {"label":"Win", "x":1.25, "y":4, "w":1.25}, {"label":"Alt", "x":2.5, "y":4, "w":1.25}, {"x":3.75, "y":4, "w":6}, {"label":"Alt", "x":9.75, "y":4, "w":1.25}, {"label":"Win", "x":11, "y":4, "w":1.25}, {"label":"Menu", "x":12.25, "y":4, "w":1.25}, {"x":13.5, "y":4}, {"x":14.5, "y":4}, {"x":15.5, "y":4}
23 ]
24 },
25
26 "LAYOUT_66_iso": {
27 "layout": [
28 {"label":"~", "x":0, "y":0}, {"label":"!", "x":1, "y":0}, {"label":"@", "x":2, "y":0}, {"label":"#", "x":3, "y":0}, {"label":"$", "x":4, "y":0}, {"label":"%", "x":5, "y":0}, {"label":"^", "x":6, "y":0}, {"label":"&", "x":7, "y":0}, {"label":"*", "x":8, "y":0}, {"label":"(", "x":9, "y":0}, {"label":")", "x":10, "y":0}, {"label":"_", "x":11, "y":0}, {"label":"+", "x":12, "y":0}, {"label":"Backspace", "x":13, "y":0, "w":2}, {"label":"Insert", "x":15.5, "y":0},
29 {"label":"Tab", "x":0, "y":1, "w":1.5}, {"label":"Q", "x":1.5, "y":1}, {"label":"W", "x":2.5, "y":1}, {"label":"E", "x":3.5, "y":1}, {"label":"R", "x":4.5, "y":1}, {"label":"T", "x":5.5, "y":1}, {"label":"Y", "x":6.5, "y":1}, {"label":"U", "x":7.5, "y":1}, {"label":"I", "x":8.5, "y":1}, {"label":"O", "x":9.5, "y":1}, {"label":"P", "x":10.5, "y":1}, {"label":"{", "x":11.5, "y":1}, {"label":"}", "x":12.5, "y":1}, {"label":"Enter", "x":13.75, "y":1, "w":1.25, "h":2}, {"label":"Delete", "x":15.5, "y":1},
30 {"label":"Caps Lock", "x":0, "y":2, "w":1.75}, {"label":"A", "x":1.75, "y":2}, {"label":"S", "x":2.75, "y":2}, {"label":"D", "x":3.75, "y":2}, {"label":"F", "x":4.75, "y":2}, {"label":"G", "x":5.75, "y":2}, {"label":"H", "x":6.75, "y":2}, {"label":"J", "x":7.75, "y":2}, {"label":"K", "x":8.75, "y":2}, {"label":"L", "x":9.75, "y":2}, {"label":":", "x":10.75, "y":2}, {"label":"\"", "x":11.75, "y":2}, {"label":"", "x":12.75, "y":2},
31 {"label":"Shift", "x":0, "y":3, "w":2.25}, {"label":"Z", "x":2.25, "y":3}, {"label":"X", "x":3.25, "y":3}, {"label":"C", "x":4.25, "y":3}, {"label":"V", "x":5.25, "y":3}, {"label":"B", "x":6.25, "y":3}, {"label":"N", "x":7.25, "y":3}, {"label":"M", "x":8.25, "y":3}, {"label":"<", "x":9.25, "y":3}, {"label":">", "x":10.25, "y":3}, {"label":"?", "x":11.25, "y":3}, {"label":"Shift", "x":12.25, "y":3, "w":2.25}, {"label":"\u2191", "x":14.5, "y":3},
32 {"label":"Ctrl", "x":0, "y":4, "w":1.25}, {"label":"Win", "x":1.25, "y":4, "w":1.25}, {"label":"Alt", "x":2.5, "y":4, "w":1.25}, {"x":3.75, "y":4, "w":6}, {"label":"Alt", "x":9.75, "y":4, "w":1.25}, {"label":"Ctrl", "x":11, "y":4, "w":1.25}, {"label":"Menu", "x":12.25, "y":4, "w":1.25}, {"label":"\u2190", "x":13.5, "y":4}, {"label":"\u2193", "x":14.5, "y":4}, {"label":"\u2192", "x":15.5, "y":4}
33 }
13 } 34 }
14} 35}
diff --git a/keyboards/clueboard/66/keymaps/66_ansi/keymap.c b/keyboards/clueboard/66/keymaps/66_ansi/keymap.c
index cfa641dcc..73c809ded 100644
--- a/keyboards/clueboard/66/keymaps/66_ansi/keymap.c
+++ b/keyboards/clueboard/66/keymaps/66_ansi/keymap.c
@@ -1,4 +1,4 @@
1#include "66.h" 1#include QMK_KEYBOARD_H
2 2
3// Each layer gets a name for readability, which is then used in the keymap matrix below. 3// Each layer gets a name for readability, which is then used in the keymap matrix below.
4// The underscores don't mean anything - you can have a layer called STUFF or any other name. 4// The underscores don't mean anything - you can have a layer called STUFF or any other name.
diff --git a/keyboards/clueboard/66/keymaps/66_ansi/readme.md b/keyboards/clueboard/66/keymaps/66_ansi/readme.md
index 25b5d7eb1..eee81c0c2 100644
--- a/keyboards/clueboard/66/keymaps/66_ansi/readme.md
+++ b/keyboards/clueboard/66/keymaps/66_ansi/readme.md
@@ -1,6 +1,4 @@
1![Clueboard Layout Image](http://i.imgur.com/7Capi8W.png) 1# Basic Clueboard 66% Hotswap ANSI Layout
2
3# Basic Clueboard 66% Hotswap Layout
4 2
5This is the default layout that comes flashed on every Clueboard. For the most 3This is the default layout that comes flashed on every Clueboard. For the most
6part it's a straightforward and easy to follow layout. The only unusual key is 4part it's a straightforward and easy to follow layout. The only unusual key is
diff --git a/keyboards/clueboard/66/keymaps/66_iso/keymap.c b/keyboards/clueboard/66/keymaps/66_iso/keymap.c
index 577cf045b..ff27acf5c 100644
--- a/keyboards/clueboard/66/keymaps/66_iso/keymap.c
+++ b/keyboards/clueboard/66/keymaps/66_iso/keymap.c
@@ -1,4 +1,4 @@
1#include "66.h" 1#include QMK_KEYBOARD_H
2 2
3// Each layer gets a name for readability, which is then used in the keymap matrix below. 3// Each layer gets a name for readability, which is then used in the keymap matrix below.
4// The underscores don't mean anything - you can have a layer called STUFF or any other name. 4// The underscores don't mean anything - you can have a layer called STUFF or any other name.
diff --git a/keyboards/clueboard/66/keymaps/66_iso/readme.md b/keyboards/clueboard/66/keymaps/66_iso/readme.md
index 019131aeb..6d895b0eb 100644
--- a/keyboards/clueboard/66/keymaps/66_iso/readme.md
+++ b/keyboards/clueboard/66/keymaps/66_iso/readme.md
@@ -1,6 +1,4 @@
1![Clueboard Layout Image](http://i.imgur.com/7Capi8W.png) 1# Default Clueboard 66% ISO Layout
2
3# Default Clueboard Layout
4 2
5This is the default layout that comes flashed on every Clueboard. For the most 3This is the default layout that comes flashed on every Clueboard. For the most
6part it's a straightforward and easy to follow layout. The only unusual key is 4part it's a straightforward and easy to follow layout. The only unusual key is
diff --git a/keyboards/clueboard/66/keymaps/bloodlvst/config.h b/keyboards/clueboard/66/keymaps/bloodlvst/config.h
index 456936cf9..60c6ad4a1 100644
--- a/keyboards/clueboard/66/keymaps/bloodlvst/config.h
+++ b/keyboards/clueboard/66/keymaps/bloodlvst/config.h
@@ -1,7 +1,3 @@
1#ifndef CONFIG_USER_H 1#pragma once
2#define CONFIG_USER_H
3
4#include "../../config.h"
5 2
6#define DISABLE_SPACE_CADET_ROLLOVER 3#define DISABLE_SPACE_CADET_ROLLOVER
7#endif
diff --git a/keyboards/clueboard/66/keymaps/bloodlvst/keymap.c b/keyboards/clueboard/66/keymaps/bloodlvst/keymap.c
index 73543cbfa..7c7faba9c 100644
--- a/keyboards/clueboard/66/keymaps/bloodlvst/keymap.c
+++ b/keyboards/clueboard/66/keymaps/bloodlvst/keymap.c
@@ -1,4 +1,4 @@
1#include "66.h" 1#include QMK_KEYBOARD_H
2 2
3// Each layer gets a name for readability, which is then used in the keymap matrix below. 3// Each layer gets a name for readability, which is then used in the keymap matrix below.
4// The underscores don't mean anything - you can have a layer called STUFF or any other name. 4// The underscores don't mean anything - you can have a layer called STUFF or any other name.
diff --git a/keyboards/clueboard/66/keymaps/caps_fn/keymap.c b/keyboards/clueboard/66/keymaps/caps_fn/keymap.c
index c48c50738..fc0c56d9a 100644
--- a/keyboards/clueboard/66/keymaps/caps_fn/keymap.c
+++ b/keyboards/clueboard/66/keymaps/caps_fn/keymap.c
@@ -1,4 +1,4 @@
1#include "66.h" 1#include QMK_KEYBOARD_H
2 2
3// Each layer gets a name for readability, which is then used in the keymap matrix below. 3// Each layer gets a name for readability, which is then used in the keymap matrix below.
4// The underscores don't mean anything - you can have a layer called STUFF or any other name. 4// The underscores don't mean anything - you can have a layer called STUFF or any other name.
diff --git a/keyboards/clueboard/66/keymaps/caps_fn/readme.md b/keyboards/clueboard/66/keymaps/caps_fn/readme.md
index 47a530a80..71d1246c0 100644
--- a/keyboards/clueboard/66/keymaps/caps_fn/readme.md
+++ b/keyboards/clueboard/66/keymaps/caps_fn/readme.md
@@ -1,5 +1,3 @@
1![Clueboard Layout Image](http://i.imgur.com/kGADucy.png)
2
3# Caps Fn Layout 1# Caps Fn Layout
4 2
5This is the default layout except that Caps Lock acts like Caps Lock when 3This is the default layout except that Caps Lock acts like Caps Lock when
diff --git a/keyboards/clueboard/66/keymaps/colemak/keymap.c b/keyboards/clueboard/66/keymaps/colemak/keymap.c
index 3666bd0e6..4479556b6 100644
--- a/keyboards/clueboard/66/keymaps/colemak/keymap.c
+++ b/keyboards/clueboard/66/keymaps/colemak/keymap.c
@@ -1,4 +1,4 @@
1#include "66.h" 1#include QMK_KEYBOARD_H
2 2
3// Each layer gets a name for readability, which is then used in the keymap matrix below. 3// Each layer gets a name for readability, which is then used in the keymap matrix below.
4// The underscores don't mean anything - you can have a layer called STUFF or any other name. 4// The underscores don't mean anything - you can have a layer called STUFF or any other name.
diff --git a/keyboards/clueboard/66/keymaps/default/keymap.c b/keyboards/clueboard/66/keymaps/default/keymap.c
index 555ff97f0..95283db88 100644
--- a/keyboards/clueboard/66/keymaps/default/keymap.c
+++ b/keyboards/clueboard/66/keymaps/default/keymap.c
@@ -1,4 +1,4 @@
1#include "66.h" 1#include QMK_KEYBOARD_H
2 2
3// Each layer gets a name for readability, which is then used in the keymap matrix below. 3// Each layer gets a name for readability, which is then used in the keymap matrix below.
4// The underscores don't mean anything - you can have a layer called STUFF or any other name. 4// The underscores don't mean anything - you can have a layer called STUFF or any other name.
diff --git a/keyboards/clueboard/66/keymaps/default/readme.md b/keyboards/clueboard/66/keymaps/default/readme.md
index 019131aeb..b1cdcbe4e 100644
--- a/keyboards/clueboard/66/keymaps/default/readme.md
+++ b/keyboards/clueboard/66/keymaps/default/readme.md
@@ -1,6 +1,4 @@
1![Clueboard Layout Image](http://i.imgur.com/7Capi8W.png) 1# Default Clueboard 66% Universal Layout
2
3# Default Clueboard Layout
4 2
5This is the default layout that comes flashed on every Clueboard. For the most 3This is the default layout that comes flashed on every Clueboard. For the most
6part it's a straightforward and easy to follow layout. The only unusual key is 4part it's a straightforward and easy to follow layout. The only unusual key is
diff --git a/keyboards/clueboard/66/keymaps/jokrik/keymap.c b/keyboards/clueboard/66/keymaps/jokrik/keymap.c
index 118efe0a9..9c6997c34 100644
--- a/keyboards/clueboard/66/keymaps/jokrik/keymap.c
+++ b/keyboards/clueboard/66/keymaps/jokrik/keymap.c
@@ -1,4 +1,4 @@
1#include "66.h" 1#include QMK_KEYBOARD_H
2 2
3// Each layer gets a name for readability, which is then used in the keymap matrix below. 3// Each layer gets a name for readability, which is then used in the keymap matrix below.
4// The underscores don't mean anything - you can have a layer called STUFF or any other name. 4// The underscores don't mean anything - you can have a layer called STUFF or any other name.
diff --git a/keyboards/clueboard/66/keymaps/mac_optimized/keymap.c b/keyboards/clueboard/66/keymaps/mac_optimized/keymap.c
index 29d968429..30e772900 100644
--- a/keyboards/clueboard/66/keymaps/mac_optimized/keymap.c
+++ b/keyboards/clueboard/66/keymaps/mac_optimized/keymap.c
@@ -1,4 +1,4 @@
1#include "66.h" 1#include QMK_KEYBOARD_H
2 2
3// Each layer gets a name for readability, which is then used in the keymap matrix below. 3// Each layer gets a name for readability, which is then used in the keymap matrix below.
4// The underscores don't mean anything - you can have a layer called STUFF or any other name. 4// The underscores don't mean anything - you can have a layer called STUFF or any other name.
diff --git a/keyboards/clueboard/66/keymaps/mac_optimized/readme.md b/keyboards/clueboard/66/keymaps/mac_optimized/readme.md
index 282da369d..db7a87d44 100644
--- a/keyboards/clueboard/66/keymaps/mac_optimized/readme.md
+++ b/keyboards/clueboard/66/keymaps/mac_optimized/readme.md
@@ -1,5 +1,3 @@
1![Clueboard Layout Image](http://i.imgur.com/7oZCsHF.png)
2
3# Default Clueboard Layout for Mac 1# Default Clueboard Layout for Mac
4 2
5This is the default Clueboard layout with Alt and GUI switched to match Mac 3This is the default Clueboard layout with Alt and GUI switched to match Mac
diff --git a/keyboards/clueboard/66/keymaps/magicmonty/config.h b/keyboards/clueboard/66/keymaps/magicmonty/config.h
index d933fa997..65853f6b0 100644
--- a/keyboards/clueboard/66/keymaps/magicmonty/config.h
+++ b/keyboards/clueboard/66/keymaps/magicmonty/config.h
@@ -1,7 +1,4 @@
1#ifndef CONFIG_USER_H 1#pragma once
2#define CONFIG_USER_H
3
4#include "../../config.h"
5 2
6/* 3/*
7 * MIDI options 4 * MIDI options
@@ -36,5 +33,3 @@
36#define LSPO_KEY KC_8 33#define LSPO_KEY KC_8
37#define RSPC_KEY KC_9 34#define RSPC_KEY KC_9
38#define PERMISSIVE_HOLD 35#define PERMISSIVE_HOLD
39
40#endif
diff --git a/keyboards/clueboard/66/keymaps/magicmonty/keymap.c b/keyboards/clueboard/66/keymaps/magicmonty/keymap.c
index 7f91224cf..8d9371567 100644
--- a/keyboards/clueboard/66/keymaps/magicmonty/keymap.c
+++ b/keyboards/clueboard/66/keymaps/magicmonty/keymap.c
@@ -1,4 +1,4 @@
1#include "66.h" 1#include QMK_KEYBOARD_H
2 2
3// Helpful defines 3// Helpful defines
4#define xxxxxxx KC_NO 4#define xxxxxxx KC_NO
diff --git a/keyboards/clueboard/66/keymaps/magicmonty/rules.mk b/keyboards/clueboard/66/keymaps/magicmonty/rules.mk
index 7ee1ff169..46222e2d3 100644
--- a/keyboards/clueboard/66/keymaps/magicmonty/rules.mk
+++ b/keyboards/clueboard/66/keymaps/magicmonty/rules.mk
@@ -1,6 +1,7 @@
1 1
2MOUSEKEY_ENABLE = yes 2MOUSEKEY_ENABLE = yes
3EXTRAKEY_ENABLE = yes 3EXTRAKEY_ENABLE = yes
4RGBLIGHT_ENABLE = yes # Enable keyboard underlight functionality
4 5
5MIDI_ENABLE = yes 6MIDI_ENABLE = yes
6 7
diff --git a/keyboards/clueboard/66/keymaps/manofinterests/keymap.c b/keyboards/clueboard/66/keymaps/manofinterests/keymap.c
index 08815dc5a..e71419980 100644
--- a/keyboards/clueboard/66/keymaps/manofinterests/keymap.c
+++ b/keyboards/clueboard/66/keymaps/manofinterests/keymap.c
@@ -1,4 +1,4 @@
1#include "66.h" 1#include QMK_KEYBOARD_H
2 2
3// Each layer gets a name for readability, which is then used in the keymap matrix below. 3// Each layer gets a name for readability, which is then used in the keymap matrix below.
4// The underscores don't mean anything - you can have a layer called STUFF or any other name. 4// The underscores don't mean anything - you can have a layer called STUFF or any other name.
diff --git a/keyboards/clueboard/66/keymaps/maximised/keymap.c b/keyboards/clueboard/66/keymaps/maximised/keymap.c
index 1b117dc60..c2e05a5a2 100644
--- a/keyboards/clueboard/66/keymaps/maximised/keymap.c
+++ b/keyboards/clueboard/66/keymaps/maximised/keymap.c
@@ -1,4 +1,4 @@
1#include "66.h" 1#include QMK_KEYBOARD_H
2 2
3// Each layer gets a name for readability, which is then used in the keymap matrix below. 3// Each layer gets a name for readability, which is then used in the keymap matrix below.
4// The underscores don't mean anything - you can have a layer called STUFF or any other name. 4// The underscores don't mean anything - you can have a layer called STUFF or any other name.
diff --git a/keyboards/clueboard/66/keymaps/maximised/readme.md b/keyboards/clueboard/66/keymaps/maximised/readme.md
index fc82e6879..b8d54a309 100644
--- a/keyboards/clueboard/66/keymaps/maximised/readme.md
+++ b/keyboards/clueboard/66/keymaps/maximised/readme.md
@@ -1,5 +1,3 @@
1![Clueboard Layout Image](http://i.imgur.com/7oZCsHF.png)
2
3# Maximised Clueboard Layout 1# Maximised Clueboard Layout
4 2
5This layout is intended for a board with one or both shifts split. The outside key on the split shift is an Fn, while the inside is shift. The bottom row has all the mods on both sides, optimised for a Mac. 3This layout is intended for a board with one or both shifts split. The outside key on the split shift is an Fn, while the inside is shift. The bottom row has all the mods on both sides, optimised for a Mac.
diff --git a/keyboards/clueboard/66/keymaps/mouse_keys/keymap.c b/keyboards/clueboard/66/keymaps/mouse_keys/keymap.c
index 2169312d4..be5634f10 100644
--- a/keyboards/clueboard/66/keymaps/mouse_keys/keymap.c
+++ b/keyboards/clueboard/66/keymaps/mouse_keys/keymap.c
@@ -1,4 +1,4 @@
1#include "66.h" 1#include QMK_KEYBOARD_H
2 2
3// Each layer gets a name for readability, which is then used in the keymap matrix below. 3// Each layer gets a name for readability, which is then used in the keymap matrix below.
4// The underscores don't mean anything - you can have a layer called STUFF or any other name. 4// The underscores don't mean anything - you can have a layer called STUFF or any other name.
diff --git a/keyboards/clueboard/66/keymaps/mouse_keys/readme.md b/keyboards/clueboard/66/keymaps/mouse_keys/readme.md
index 7fb038205..de883e894 100644
--- a/keyboards/clueboard/66/keymaps/mouse_keys/readme.md
+++ b/keyboards/clueboard/66/keymaps/mouse_keys/readme.md
@@ -1,5 +1,3 @@
1![Clueboard Layout Image](layout.png)
2
3# MouseKeys Layout 1# MouseKeys Layout
4 2
5This layout adds a mouse layer. When you hold down the spacebar the arrow keys 3This layout adds a mouse layer. When you hold down the spacebar the arrow keys
diff --git a/keyboards/clueboard/66/keymaps/mrscooty/keymap.c b/keyboards/clueboard/66/keymaps/mrscooty/keymap.c
index abf98615e..302649c92 100644
--- a/keyboards/clueboard/66/keymaps/mrscooty/keymap.c
+++ b/keyboards/clueboard/66/keymaps/mrscooty/keymap.c
@@ -1,4 +1,4 @@
1#include "66.h" 1#include QMK_KEYBOARD_H
2 2
3// Each layer gets a name for readability, which is then used in the keymap matrix below. 3// Each layer gets a name for readability, which is then used in the keymap matrix below.
4// The underscores don't mean anything - you can have a layer called STUFF or any other name. 4// The underscores don't mean anything - you can have a layer called STUFF or any other name.
diff --git a/keyboards/clueboard/66/keymaps/serubin/keymap.c b/keyboards/clueboard/66/keymaps/serubin/keymap.c
index 32507e918..e77417c3c 100644
--- a/keyboards/clueboard/66/keymaps/serubin/keymap.c
+++ b/keyboards/clueboard/66/keymaps/serubin/keymap.c
@@ -1,4 +1,4 @@
1#include "66.h" 1#include QMK_KEYBOARD_H
2 2
3// Each layer gets a name for readability, which is then used in the keymap matrix below. 3// Each layer gets a name for readability, which is then used in the keymap matrix below.
4// The underscores don't mean anything - you can have a layer called STUFF or any other name. 4// The underscores don't mean anything - you can have a layer called STUFF or any other name.
diff --git a/keyboards/clueboard/66/keymaps/shift_fn/keymap.c b/keyboards/clueboard/66/keymaps/shift_fn/keymap.c
index 3736db899..8556f9080 100644
--- a/keyboards/clueboard/66/keymaps/shift_fn/keymap.c
+++ b/keyboards/clueboard/66/keymaps/shift_fn/keymap.c
@@ -1,4 +1,4 @@
1#include "66.h" 1#include QMK_KEYBOARD_H
2 2
3// Each layer gets a name for readability, which is then used in the keymap matrix below. 3// Each layer gets a name for readability, which is then used in the keymap matrix below.
4// The underscores don't mean anything - you can have a layer called STUFF or any other name. 4// The underscores don't mean anything - you can have a layer called STUFF or any other name.
diff --git a/keyboards/clueboard/66/keymaps/shift_fn/readme.md b/keyboards/clueboard/66/keymaps/shift_fn/readme.md
index 4bd920ad4..d68c5b053 100644
--- a/keyboards/clueboard/66/keymaps/shift_fn/readme.md
+++ b/keyboards/clueboard/66/keymaps/shift_fn/readme.md
@@ -1,4 +1,4 @@
1# Shift Fn Clueboard Layout 1# Shift Fn Clueboard 66% Layout
2 2
3This is an experimental layout. It makes the left shift key a dual roll key. 3This is an experimental layout. It makes the left shift key a dual roll key.
4For most keys it acts as a shift key, but for some keys it activates an 4For most keys it acts as a shift key, but for some keys it activates an
diff --git a/keyboards/clueboard/66/keymaps/smt/keymap.c b/keyboards/clueboard/66/keymaps/smt/keymap.c
index 42dcfecac..c1e375690 100644
--- a/keyboards/clueboard/66/keymaps/smt/keymap.c
+++ b/keyboards/clueboard/66/keymaps/smt/keymap.c
@@ -1,4 +1,4 @@
1#include "66.h" 1#include QMK_KEYBOARD_H
2 2
3// Each layer gets a name for readability, which is then used in the keymap matrix below. 3// Each layer gets a name for readability, which is then used in the keymap matrix below.
4// The underscores don't mean anything - you can have a layer called STUFF or any other name. 4// The underscores don't mean anything - you can have a layer called STUFF or any other name.
diff --git a/keyboards/clueboard/66/keymaps/tetris/keymap.c b/keyboards/clueboard/66/keymaps/tetris/keymap.c
index f7c6d4c13..ef3abd667 100644
--- a/keyboards/clueboard/66/keymaps/tetris/keymap.c
+++ b/keyboards/clueboard/66/keymaps/tetris/keymap.c
@@ -1,4 +1,4 @@
1#include "66.h" 1#include QMK_KEYBOARD_H
2#include "tetris_text.h" 2#include "tetris_text.h"
3 3
4// Helpful defines 4// Helpful defines
diff --git a/keyboards/clueboard/66/keymaps/unix_optimized/keymap.c b/keyboards/clueboard/66/keymaps/unix_optimized/keymap.c
index 927e84853..823959ee0 100644
--- a/keyboards/clueboard/66/keymaps/unix_optimized/keymap.c
+++ b/keyboards/clueboard/66/keymaps/unix_optimized/keymap.c
@@ -1,4 +1,4 @@
1#include "66.h" 1#include QMK_KEYBOARD_H
2 2
3// Each layer gets a name for readability, which is then used in the keymap matrix below. 3// Each layer gets a name for readability, which is then used in the keymap matrix below.
4// The underscores don't mean anything - you can have a layer called STUFF or any other name. 4// The underscores don't mean anything - you can have a layer called STUFF or any other name.
diff --git a/keyboards/clueboard/66/keymaps/unix_optimized/readme.md b/keyboards/clueboard/66/keymaps/unix_optimized/readme.md
index 9e6d0e902..79c7daef8 100644
--- a/keyboards/clueboard/66/keymaps/unix_optimized/readme.md
+++ b/keyboards/clueboard/66/keymaps/unix_optimized/readme.md
@@ -1,6 +1,4 @@
1![Clueboard Layout Image](http://i.imgur.com/BnWlOht.png) 1# Default Clueboard 66% Layout
2
3# Default Clueboard Layout
4 2
5This is the default layout except that Caps Lock has been changed to Control 3This is the default layout except that Caps Lock has been changed to Control
6and Insert and Delete have been put into the Fn layer. 4and Insert and Delete have been put into the Fn layer.
diff --git a/keyboards/clueboard/66/keymaps/win_optimized/keymap.c b/keyboards/clueboard/66/keymaps/win_optimized/keymap.c
index 243235016..2c5cb8639 100644
--- a/keyboards/clueboard/66/keymaps/win_optimized/keymap.c
+++ b/keyboards/clueboard/66/keymaps/win_optimized/keymap.c
@@ -1,4 +1,4 @@
1#include "66.h" 1#include QMK_KEYBOARD_H
2 2
3// Each layer gets a name for readability, which is then used in the keymap matrix below. 3// Each layer gets a name for readability, which is then used in the keymap matrix below.
4// The underscores don't mean anything - you can have a layer called STUFF or any other name. 4// The underscores don't mean anything - you can have a layer called STUFF or any other name.
diff --git a/keyboards/clueboard/66/keymaps/win_optimized/readme.md b/keyboards/clueboard/66/keymaps/win_optimized/readme.md
index 703a37be0..d79603268 100644
--- a/keyboards/clueboard/66/keymaps/win_optimized/readme.md
+++ b/keyboards/clueboard/66/keymaps/win_optimized/readme.md
@@ -1,6 +1,4 @@
1![Clueboard Layout Image](http://i.imgur.com/fsqOqZo.png) 1# Default Clueboard 66% Layout
2
3# Default Clueboard Layout
4 2
5This is the default layout that comes flashed on every Clueboard. For the most 3This is the default layout that comes flashed on every Clueboard. For the most
6part it's a straightforward and easy to follow layout. The only unusual key is 4part it's a straightforward and easy to follow layout. The only unusual key is
diff --git a/keyboards/clueboard/66/keymaps/xyverz/config.h b/keyboards/clueboard/66/keymaps/xyverz/config.h
index 4999e4ff6..979cbf576 100644
--- a/keyboards/clueboard/66/keymaps/xyverz/config.h
+++ b/keyboards/clueboard/66/keymaps/xyverz/config.h
@@ -1,3 +1,3 @@
1#include "../config.h" 1#pragma once
2 2
3#define TAPPING_TERM 600 // ms 3#define TAPPING_TERM 600 // ms
diff --git a/keyboards/clueboard/66/keymaps/xyverz/keymap.c b/keyboards/clueboard/66/keymaps/xyverz/keymap.c
index e3f413b49..916a448e2 100644
--- a/keyboards/clueboard/66/keymaps/xyverz/keymap.c
+++ b/keyboards/clueboard/66/keymaps/xyverz/keymap.c
@@ -1,7 +1,7 @@
1// Xyverz' keymap. 1// Xyverz' keymap.
2// It's based on the default keymap, but Dvorak! 2// It's based on the default keymap, but Dvorak!
3 3
4#include "66.h" 4#include QMK_KEYBOARD_H
5#include "action_layer.h" 5#include "action_layer.h"
6#include "eeconfig.h" 6#include "eeconfig.h"
7 7
diff --git a/keyboards/clueboard/66/readme.md b/keyboards/clueboard/66/readme.md
index b7ca6cb56..094cc219e 100644
--- a/keyboards/clueboard/66/readme.md
+++ b/keyboards/clueboard/66/readme.md
@@ -1,6 +1,6 @@
1# Clueboard 66% 1# Clueboard 66%
2 2
3![Clueboard](https://static1.squarespace.com/static/55c13bdee4b099be5dcb82eb/t/5867eeaad2b857fd0d196f4b/1494021396651/IMGP4201.jpg?format=1500w) 3![Clueboard](https://i.imgur.com/hLePwJu.jpg)
4 4
5A fully customizable 66% keyboard. 5A fully customizable 66% keyboard.
6 6
@@ -8,7 +8,7 @@ A fully customizable 66% keyboard.
8* Hardware Supported: Clueboard 66% PCB 8* Hardware Supported: Clueboard 66% PCB
9 * rev1 (PCB Version 1.0) 9 * rev1 (PCB Version 1.0)
10 * rev2 (PCB Versions 2.0, 2.0.1, 2.1, 2.5, 2.5.1, 2.6) 10 * rev2 (PCB Versions 2.0, 2.0.1, 2.1, 2.5, 2.5.1, 2.6)
11 * rev3 (PCB Versions 2.7, 2.8) 11 * rev3 (PCB Versions 2.7, 2.8, 2.9)
12* Hardware Availability: [clueboard.co](https://clueboard.co/) 12* Hardware Availability: [clueboard.co](https://clueboard.co/)
13 13
14Make example for this keyboard (after setting up your build environment): 14Make example for this keyboard (after setting up your build environment):
diff --git a/keyboards/clueboard/66/rev1/config.h b/keyboards/clueboard/66/rev1/config.h
index 210718d56..a35c0d0f6 100644
--- a/keyboards/clueboard/66/rev1/config.h
+++ b/keyboards/clueboard/66/rev1/config.h
@@ -1,28 +1,60 @@
1#ifndef CLUEBOARD_66_REV1_CONFIG_H 1#pragma once
2#define CLUEBOARD_66_REV1_CONFIG_H
3 2
4#include "config_common.h" 3#include "config_common.h"
5 4
5/* USB Device descriptor parameter */
6#define VENDOR_ID 0xC1ED
6#define PRODUCT_ID 0x2301 7#define PRODUCT_ID 0x2301
7#define DEVICE_VER 0x0003 8#define DEVICE_VER 0x0003
9#define MANUFACTURER Clueboard
10#define PRODUCT Clueboard
11#define DESCRIPTION QMK keyboard firmware for Clueboard
8 12
9/* key matrix size */ 13/* key matrix size
14 */
10#define MATRIX_ROWS 5 15#define MATRIX_ROWS 5
11#define MATRIX_COLS 16 16#define MATRIX_COLS 16
12 17
13// ROWS: Top to bottom, COLS: Left to right 18/* ROWS: Top to bottom, COLS: Left to right
14/* Column pin configuration 19 */
15* col: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
16* pin: B3 F1 F4 F5 F6 C7 C6 B6 B5 B4 D7 D6 D4 F7 B0 B1
17*/
18#define MATRIX_COL_PINS { B3, F1, F4, F5, F6, C7, C6, B6, B5, B4, D7, D6, D4, F7, B0, B1 } 20#define MATRIX_COL_PINS { B3, F1, F4, F5, F6, C7, C6, B6, B5, B4, D7, D6, D4, F7, B0, B1 }
19/* Row pin configuration
20* row: 0 1 2 3 4
21* pin: D1 D0 D2 D5 D3
22*/
23#define MATRIX_ROW_PINS { D1, D0, D2, D5, D3 } 21#define MATRIX_ROW_PINS { D1, D0, D2, D5, D3 }
24#define UNUSED_PINS 22#define UNUSED_PINS
25 23
24/* COL2ROW or ROW2COL */
25#define DIODE_DIRECTION COL2ROW
26
27/* Set 0 if debouncing isn't needed */
28#define DEBOUNCING_DELAY 5
29
30/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
31#define LOCKING_SUPPORT_ENABLE
32/* Locking resynchronize hack */
33#define LOCKING_RESYNC_ENABLE
34
35/* key combination for command */
36#define IS_COMMAND() ( \
37 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
38)
39
40/*
41 * Feature disable options
42 * These options are also useful to firmware size reduction.
43 */
44
45/* disable debug print */
46//#define NO_DEBUG
47
48/* disable print */
49//#define NO_PRINT
50
51/* disable action features */
52//#define NO_ACTION_LAYER
53//#define NO_ACTION_TAPPING
54//#define NO_ACTION_ONESHOT
55//#define NO_ACTION_MACRO
56//#define NO_ACTION_FUNCTION
57
26/* Underlight configuration 58/* Underlight configuration
27 */ 59 */
28#define RGB_DI_PIN B2 60#define RGB_DI_PIN B2
@@ -31,6 +63,3 @@
31#define RGBLIGHT_HUE_STEP 10 63#define RGBLIGHT_HUE_STEP 10
32#define RGBLIGHT_SAT_STEP 17 64#define RGBLIGHT_SAT_STEP 17
33#define RGBLIGHT_VAL_STEP 17 65#define RGBLIGHT_VAL_STEP 17
34
35
36#endif
diff --git a/keyboards/clueboard/66/rev1/rev1.h b/keyboards/clueboard/66/rev1/rev1.h
index 58694fcb9..8a5e9bf68 100644
--- a/keyboards/clueboard/66/rev1/rev1.h
+++ b/keyboards/clueboard/66/rev1/rev1.h
@@ -1,7 +1,6 @@
1#ifndef REV1_H 1#pragma once
2#define REV1_H
3 2
4#include "../66.h" 3#include "quantum.h"
5 4
6/* Clueboard matrix layout 5/* Clueboard matrix layout
7 * ,-----------------------------------------------------------. ,---. 6 * ,-----------------------------------------------------------. ,---.
@@ -43,7 +42,6 @@
43 { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D, k3E }, \ 42 { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D, k3E }, \
44 { k40, k41, k42, k43, KC_NO, k45, k46, KC_NO, KC_NO, k49, k4A, k4B, k4C, k4D, k4E, k4F } \ 43 { k40, k41, k42, k43, KC_NO, k45, k46, KC_NO, KC_NO, k49, k4A, k4B, k4C, k4D, k4E, k4F } \
45} 44}
46#define KEYMAP LAYOUT
47 45
48#define LAYOUT_66_ansi( \ 46#define LAYOUT_66_ansi( \
49 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0E, k0F, \ 47 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0E, k0F, \
@@ -73,4 +71,4 @@
73 { k40, k41, k42, KC_NO, KC_NO, KC_NO, k46, KC_NO, KC_NO, KC_NO, k4A, k4B, k4C, k4D, k4E, k4F } \ 71 { k40, k41, k42, KC_NO, KC_NO, KC_NO, k46, KC_NO, KC_NO, KC_NO, k4A, k4B, k4C, k4D, k4E, k4F } \
74} 72}
75 73
76#endif 74#define KEYMAP LAYOUT
diff --git a/keyboards/clueboard/66/rev1/rules.mk b/keyboards/clueboard/66/rev1/rules.mk
index f84561674..96d4125ac 100644
--- a/keyboards/clueboard/66/rev1/rules.mk
+++ b/keyboards/clueboard/66/rev1/rules.mk
@@ -1 +1,23 @@
1BACKLIGHT_ENABLE = no \ No newline at end of file 1LAYOUTS = 66_ansi 66_iso
2MCU = atmega32u4
3F_CPU = 16000000
4ARCH = AVR8
5F_USB = $(F_CPU)
6OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
7OPT_DEFS += -DBOOTLOADER_SIZE=4096
8
9# Build Options
10# comment out to disable the options.
11#
12BACKLIGHT_ENABLE = no
13BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
14MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
15EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
16CONSOLE_ENABLE = yes # Console for debug(+400)
17COMMAND_ENABLE = no # Commands for debug and configuration
18NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
19AUDIO_ENABLE = no
20RGBLIGHT_ENABLE = no # Enable keyboard underlight functionality
21MIDI_ENABLE = no # MIDI controls
22UNICODE_ENABLE = no # Unicode
23BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
diff --git a/keyboards/clueboard/66/rev2/config.h b/keyboards/clueboard/66/rev2/config.h
index 6ab2b1127..0216b5e1f 100644
--- a/keyboards/clueboard/66/rev2/config.h
+++ b/keyboards/clueboard/66/rev2/config.h
@@ -1,28 +1,59 @@
1#ifndef CLUEBOARD_66_REV2_CONFIG_H 1#pragma once
2#define CLUEBOARD_66_REV2_CONFIG_H
3 2
4#include "config_common.h" 3#include "config_common.h"
5 4
5/* USB Device descriptor parameter */
6#define VENDOR_ID 0xC1ED
6#define PRODUCT_ID 0x2320 7#define PRODUCT_ID 0x2320
7#define DEVICE_VER 0x0001 8#define DEVICE_VER 0x0001
9#define MANUFACTURER Clueboard
10#define PRODUCT Clueboard
11#define DESCRIPTION QMK keyboard firmware for Clueboard
8 12
9/* key matrix size */ 13/* key matrix size */
10#define MATRIX_ROWS 10 14#define MATRIX_ROWS 10
11#define MATRIX_COLS 8 15#define MATRIX_COLS 8
12 16
13// ROWS: Top to bottom, COLS: Left to right 17/* ROWS: Top to bottom, COLS: Left to right
14/* Row pin configuration
15* row: 0 1 2 3 4 5 6 7 8 9
16* pin: B2 C7 C6 B6 B5 B0 B3 D5 D3 D2
17*/ 18*/
18#define MATRIX_ROW_PINS { B2, C7, C6, B6, B5, B0, B3, D5, D3, D2 } 19#define MATRIX_ROW_PINS { B2, C7, C6, B6, B5, B0, B3, D5, D3, D2 }
19/* Column pin configuration
20 * col: 0 1 2 3 4 5 6 7
21 * pin: F0 F1 F4 F5 F6 F7 E6 B1
22 */
23#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, E6, B1 } 20#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, E6, B1 }
24#define UNUSED_PINS 21#define UNUSED_PINS
25 22
23/* COL2ROW or ROW2COL */
24#define DIODE_DIRECTION COL2ROW
25
26/* Set 0 if debouncing isn't needed */
27#define DEBOUNCING_DELAY 5
28
29/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
30#define LOCKING_SUPPORT_ENABLE
31/* Locking resynchronize hack */
32#define LOCKING_RESYNC_ENABLE
33
34/* key combination for command */
35#define IS_COMMAND() ( \
36 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
37)
38
39/*
40 * Feature disable options
41 * These options are also useful to firmware size reduction.
42 */
43
44/* disable debug print */
45//#define NO_DEBUG
46
47/* disable print */
48//#define NO_PRINT
49
50/* disable action features */
51//#define NO_ACTION_LAYER
52//#define NO_ACTION_TAPPING
53//#define NO_ACTION_ONESHOT
54//#define NO_ACTION_MACRO
55//#define NO_ACTION_FUNCTION
56
26 /* Backlight configuration 57 /* Backlight configuration
27 */ 58 */
28#define BACKLIGHT_LEVELS 1 59#define BACKLIGHT_LEVELS 1
@@ -44,5 +75,3 @@
44#define RGBLIGHT_EFFECT_KNIGHT_OFFSET 1 // The led to start at 75#define RGBLIGHT_EFFECT_KNIGHT_OFFSET 1 // The led to start at
45#define RGBLIGHT_EFFECT_KNIGHT_LED_NUM 5 // How many LEDs to travel 76#define RGBLIGHT_EFFECT_KNIGHT_LED_NUM 5 // How many LEDs to travel
46#define RGBLIGHT_EFFECT_SNAKE_LENGTH 4 // How many LEDs wide to light up 77#define RGBLIGHT_EFFECT_SNAKE_LENGTH 4 // How many LEDs wide to light up
47
48#endif
diff --git a/keyboards/clueboard/66/rev2/rev2.h b/keyboards/clueboard/66/rev2/rev2.h
index bac608df9..267e6795e 100644
--- a/keyboards/clueboard/66/rev2/rev2.h
+++ b/keyboards/clueboard/66/rev2/rev2.h
@@ -1,7 +1,6 @@
1#ifndef REV2_H 1#pragma once
2#define REV2_H
3 2
4#include "66.h" 3#include "quantum.h"
5 4
6/* Clueboard matrix layout 5/* Clueboard matrix layout
7 * ,-----------------------------------------------------------. ,---. 6 * ,-----------------------------------------------------------. ,---.
@@ -48,7 +47,6 @@
48 { k80, k81, k82, k83, k84, k85, k86, KC_NO }, \ 47 { k80, k81, k82, k83, k84, k85, k86, KC_NO }, \
49 { k90, KC_NO, k92, k93, k94, k95, k96, k97 } \ 48 { k90, KC_NO, k92, k93, k94, k95, k96, k97 } \
50} 49}
51#define KEYMAP LAYOUT
52 50
53/* LAYOUT_66_ansi, standard 66 key ANSI layout 51/* LAYOUT_66_ansi, standard 66 key ANSI layout
54 */ 52 */
@@ -92,4 +90,4 @@
92 { KC_NO, KC_NO, k92, k93, k94, k95, k96, k97 } \ 90 { KC_NO, KC_NO, k92, k93, k94, k95, k96, k97 } \
93} 91}
94 92
95#endif 93#define KEYMAP LAYOUT
diff --git a/keyboards/clueboard/66/rev2/rules.mk b/keyboards/clueboard/66/rev2/rules.mk
index 54a2685bf..4987ac137 100644
--- a/keyboards/clueboard/66/rev2/rules.mk
+++ b/keyboards/clueboard/66/rev2/rules.mk
@@ -1 +1,22 @@
1BACKLIGHT_ENABLE = yes \ No newline at end of file 1LAYOUTS = 66_ansi 66_iso
2MCU = atmega32u4
3F_CPU = 16000000
4ARCH = AVR8
5F_USB = $(F_CPU)
6OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
7OPT_DEFS += -DBOOTLOADER_SIZE=4096
8
9
10# Build Options
11BACKLIGHT_ENABLE = yes
12BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
13MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
14EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
15CONSOLE_ENABLE = yes # Console for debug(+400)
16COMMAND_ENABLE = no # Commands for debug and configuration
17NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
18AUDIO_ENABLE = no
19RGBLIGHT_ENABLE = yes # Enable keyboard underlight functionality
20MIDI_ENABLE = no # MIDI controls
21UNICODE_ENABLE = no # Unicode
22BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
diff --git a/keyboards/clueboard/66/rev3/config.h b/keyboards/clueboard/66/rev3/config.h
index 218736a88..e7cda4ccf 100644
--- a/keyboards/clueboard/66/rev3/config.h
+++ b/keyboards/clueboard/66/rev3/config.h
@@ -1,28 +1,59 @@
1#ifndef CLUEBOARD_66_REV3_CONFIG_H 1#pragma once
2#define CLUEBOARD_66_REV3_CONFIG_H
3 2
4#include "config_common.h" 3#include "config_common.h"
5 4
5/* USB Device descriptor parameter */
6#define VENDOR_ID 0xC1ED
6#define PRODUCT_ID 0x2370 7#define PRODUCT_ID 0x2370
7#define DEVICE_VER 0x0001 8#define DEVICE_VER 0x0001
9#define MANUFACTURER Clueboard
10#define PRODUCT Clueboard
11#define DESCRIPTION QMK keyboard firmware for Clueboard
8 12
9/* key matrix size */ 13/* key matrix size */
10#define MATRIX_ROWS 10 14#define MATRIX_ROWS 10
11#define MATRIX_COLS 8 15#define MATRIX_COLS 8
12 16
13// ROWS: Top to bottom, COLS: Left to right 17/* ROWS: Top to bottom, COLS: Left to right
14/* Row pin configuration
15* row: 0 1 2 3 4 5 6 7 8 9
16* pin: B2 C7 C6 B6 B5 B0 B3 D5 D3 D2
17*/ 18*/
18#define MATRIX_ROW_PINS { B2, C7, C6, B6, B5, B0, B3, D5, D3, D2 } 19#define MATRIX_ROW_PINS { B2, C7, C6, B6, B5, B0, B3, D5, D3, D2 }
19/* Column pin configuration
20 * col: 0 1 2 3 4 5 6 7
21 * pin: F0 F1 F4 F5 F6 F7 E6 B1
22 */
23#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, E6, B1 } 20#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, E6, B1 }
24#define UNUSED_PINS 21#define UNUSED_PINS
25 22
23/* COL2ROW or ROW2COL */
24#define DIODE_DIRECTION COL2ROW
25
26/* Set 0 if debouncing isn't needed */
27#define DEBOUNCING_DELAY 5
28
29/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
30#define LOCKING_SUPPORT_ENABLE
31/* Locking resynchronize hack */
32#define LOCKING_RESYNC_ENABLE
33
34/* key combination for command */
35#define IS_COMMAND() ( \
36 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
37)
38
39/*
40 * Feature disable options
41 * These options are also useful to firmware size reduction.
42 */
43
44/* disable debug print */
45//#define NO_DEBUG
46
47/* disable print */
48//#define NO_PRINT
49
50/* disable action features */
51//#define NO_ACTION_LAYER
52//#define NO_ACTION_TAPPING
53//#define NO_ACTION_ONESHOT
54//#define NO_ACTION_MACRO
55//#define NO_ACTION_FUNCTION
56
26 /* Backlight configuration 57 /* Backlight configuration
27 */ 58 */
28#define BACKLIGHT_LEVELS 1 59#define BACKLIGHT_LEVELS 1
@@ -44,5 +75,3 @@
44#define RGBLIGHT_EFFECT_KNIGHT_OFFSET 2 // The led to start at 75#define RGBLIGHT_EFFECT_KNIGHT_OFFSET 2 // The led to start at
45#define RGBLIGHT_EFFECT_KNIGHT_LED_NUM 5 // How many LEDs to travel 76#define RGBLIGHT_EFFECT_KNIGHT_LED_NUM 5 // How many LEDs to travel
46#define RGBLIGHT_EFFECT_SNAKE_LENGTH 4 // How many LEDs wide to light up 77#define RGBLIGHT_EFFECT_SNAKE_LENGTH 4 // How many LEDs wide to light up
47
48#endif
diff --git a/keyboards/clueboard/66/rev3/rev3.c b/keyboards/clueboard/66/rev3/rev3.c
index 713d998e6..195a21a9e 100644
--- a/keyboards/clueboard/66/rev3/rev3.c
+++ b/keyboards/clueboard/66/rev3/rev3.c
@@ -8,10 +8,6 @@ void matrix_init_kb(void) {
8 // runs once when the firmware starts up 8 // runs once when the firmware starts up
9 matrix_init_user(); 9 matrix_init_user();
10 led_init_ports(); 10 led_init_ports();
11
12 // JTAG disable for PORT F. write JTD bit twice within four cycles.
13 MCUCR |= (1<<JTD);
14 MCUCR |= (1<<JTD);
15} 11}
16 12
17 13
diff --git a/keyboards/clueboard/66/rev3/rev3.h b/keyboards/clueboard/66/rev3/rev3.h
index 0f322a5c0..267e6795e 100644
--- a/keyboards/clueboard/66/rev3/rev3.h
+++ b/keyboards/clueboard/66/rev3/rev3.h
@@ -1,7 +1,6 @@
1#ifndef REV3_H 1#pragma once
2#define REV3_H
3 2
4#include "66.h" 3#include "quantum.h"
5 4
6/* Clueboard matrix layout 5/* Clueboard matrix layout
7 * ,-----------------------------------------------------------. ,---. 6 * ,-----------------------------------------------------------. ,---.
@@ -48,7 +47,6 @@
48 { k80, k81, k82, k83, k84, k85, k86, KC_NO }, \ 47 { k80, k81, k82, k83, k84, k85, k86, KC_NO }, \
49 { k90, KC_NO, k92, k93, k94, k95, k96, k97 } \ 48 { k90, KC_NO, k92, k93, k94, k95, k96, k97 } \
50} 49}
51#define KEYMAP LAYOUT
52 50
53/* LAYOUT_66_ansi, standard 66 key ANSI layout 51/* LAYOUT_66_ansi, standard 66 key ANSI layout
54 */ 52 */
@@ -92,4 +90,4 @@
92 { KC_NO, KC_NO, k92, k93, k94, k95, k96, k97 } \ 90 { KC_NO, KC_NO, k92, k93, k94, k95, k96, k97 } \
93} 91}
94 92
95#endif 93#define KEYMAP LAYOUT
diff --git a/keyboards/clueboard/66/rev3/rules.mk b/keyboards/clueboard/66/rev3/rules.mk
index 54a2685bf..8c1836351 100644
--- a/keyboards/clueboard/66/rev3/rules.mk
+++ b/keyboards/clueboard/66/rev3/rules.mk
@@ -1 +1,23 @@
1BACKLIGHT_ENABLE = yes \ No newline at end of file 1LAYOUTS = 66_ansi 66_iso
2MCU = atmega32u4
3F_CPU = 16000000
4ARCH = AVR8
5F_USB = $(F_CPU)
6OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
7OPT_DEFS += -DBOOTLOADER_SIZE=4096
8
9# Build Options
10# comment out to disable the options.
11#
12BACKLIGHT_ENABLE = yes
13BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
14MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
15EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
16CONSOLE_ENABLE = yes # Console for debug(+400)
17COMMAND_ENABLE = no # Commands for debug and configuration
18NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
19AUDIO_ENABLE = no
20RGBLIGHT_ENABLE = yes # Enable keyboard underlight functionality
21MIDI_ENABLE = no # MIDI controls
22UNICODE_ENABLE = no # Unicode
23BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
diff --git a/keyboards/clueboard/66/rules.mk b/keyboards/clueboard/66/rules.mk
deleted file mode 100644
index c5f8b5c11..000000000
--- a/keyboards/clueboard/66/rules.mk
+++ /dev/null
@@ -1,25 +0,0 @@
1DEFAULT_FOLDER = clueboard/66/rev2
2LAYOUTS = 66_ansi 66_iso
3MCU = atmega32u4
4F_CPU = 16000000
5ARCH = AVR8
6F_USB = $(F_CPU)
7OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
8OPT_DEFS += -DBOOTLOADER_SIZE=4096
9
10# Build Options
11# comment out to disable the options.
12#
13BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
14MOUSEKEY_ENABLE = no # Mouse keys(+4700)
15EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
16CONSOLE_ENABLE = yes # Console for debug(+400)
17COMMAND_ENABLE = yes # Commands for debug and configuration
18NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
19AUDIO_ENABLE = no
20RGBLIGHT_ENABLE = yes # Enable keyboard underlight functionality
21MIDI_ENABLE = no # MIDI controls
22UNICODE_ENABLE = no # Unicode
23BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
24
25LAYOUTS = 66_ansi