aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskullydazed <skullydazed@users.noreply.github.com>2019-10-23 14:18:12 -0700
committerGitHub <noreply@github.com>2019-10-23 14:18:12 -0700
commitb62ee65c6d809bd10b4cd98c835a4a501a39b880 (patch)
tree6c03a20472ab0d59b288c360a464554a45fde835
parent68cf2725aa30eaa18db9c6149e5e361860db01d7 (diff)
downloadqmk_firmware-b62ee65c6d809bd10b4cd98c835a4a501a39b880.tar.gz
qmk_firmware-b62ee65c6d809bd10b4cd98c835a4a501a39b880.zip
Support for the Clueboard California macropad (#7127)
* Support for the Clueboard California macropad * Update keyboards/clueboard/california/config.h Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
-rw-r--r--keyboards/clueboard/california/california.c1
-rw-r--r--keyboards/clueboard/california/california.h21
-rw-r--r--keyboards/clueboard/california/config.h24
-rw-r--r--keyboards/clueboard/california/info.json10
-rw-r--r--keyboards/clueboard/california/keymaps/default/keymap.json7
-rw-r--r--keyboards/clueboard/california/readme.md13
-rw-r--r--keyboards/clueboard/california/rules.mk10
7 files changed, 86 insertions, 0 deletions
diff --git a/keyboards/clueboard/california/california.c b/keyboards/clueboard/california/california.c
new file mode 100644
index 000000000..342184a1a
--- /dev/null
+++ b/keyboards/clueboard/california/california.c
@@ -0,0 +1 @@
#include "california.h"
diff --git a/keyboards/clueboard/california/california.h b/keyboards/clueboard/california/california.h
new file mode 100644
index 000000000..853b360e2
--- /dev/null
+++ b/keyboards/clueboard/california/california.h
@@ -0,0 +1,21 @@
1#pragma once
2
3#include "quantum.h"
4
5// Any changes to the layout names and/or definitions must also be made to info.json
6
7#define LAYOUT( \
8 K00, K01, \
9 K10, K11, \
10 K21, \
11 K30, K31, \
12 K40, K41, \
13 K51 \
14) { \
15 { K00, K01 }, \
16 { K10, K11 }, \
17 { KC_NO, K21 }, \
18 { K30, K31 }, \
19 { K40, K41 }, \
20 { KC_NO, K51 } \
21}
diff --git a/keyboards/clueboard/california/config.h b/keyboards/clueboard/california/config.h
new file mode 100644
index 000000000..b1426cea4
--- /dev/null
+++ b/keyboards/clueboard/california/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 0xC1ED
7#define PRODUCT_ID 0x23B0
8#define DEVICE_VER 0x0001
9#define MANUFACTURER Clueboard
10#define PRODUCT California Macropad
11#define DESCRIPTION A 10-key macropad shaped like California
12
13/* key matrix pins */
14#define MATRIX_ROWS 6
15#define MATRIX_COLS 2
16#define DIRECT_PINS { \
17 { A10, A9 }, \
18 { A0, B8 }, \
19 { NO_PIN, B11 }, \
20 { B9, A8 }, \
21 { A7, B1 }, \
22 { NO_PIN, B2 } \
23}
24#define UNUSED_PINS
diff --git a/keyboards/clueboard/california/info.json b/keyboards/clueboard/california/info.json
new file mode 100644
index 000000000..2a9ced6e9
--- /dev/null
+++ b/keyboards/clueboard/california/info.json
@@ -0,0 +1,10 @@
1{
2 "keyboard_name": "Clueboard California",
3 "url": "",
4 "maintainer": "skullydazed",
5 "layouts": {
6 "LAYOUT": {
7 "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":1, "y":2}, {"x":1.25, "y":3}, {"x":2.25, "y":3}, {"x":2, "y":4}, {"x":3, "y":4}, {"x":3.75, "y":5}]
8 }
9 }
10}
diff --git a/keyboards/clueboard/california/keymaps/default/keymap.json b/keyboards/clueboard/california/keymaps/default/keymap.json
new file mode 100644
index 000000000..8e0c297b2
--- /dev/null
+++ b/keyboards/clueboard/california/keymaps/default/keymap.json
@@ -0,0 +1,7 @@
1{
2 "keyboard":"clueboard/california",
3 "layout":"LAYOUT",
4 "layers":[
5 ["KC_1","KC_2","KC_3","KC_4","KC_5","KC_6","KC_7","KC_8","KC_9","BL_STEP"]
6 ]
7}
diff --git a/keyboards/clueboard/california/readme.md b/keyboards/clueboard/california/readme.md
new file mode 100644
index 000000000..015d15bc2
--- /dev/null
+++ b/keyboards/clueboard/california/readme.md
@@ -0,0 +1,13 @@
1# Clueboard California
2
3A macropad shaped like California
4
5* Keyboard Maintainer: [Zach White](https://github.com/skullydazed)
6* Hardware Supported: Clueboard California PCB
7* Hardware Availability: 2019 Northern California Meetup
8
9Make example for this keyboard (after setting up your build environment):
10
11 make clueboard/california:default
12
13See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
diff --git a/keyboards/clueboard/california/rules.mk b/keyboards/clueboard/california/rules.mk
new file mode 100644
index 000000000..e9362ffb7
--- /dev/null
+++ b/keyboards/clueboard/california/rules.mk
@@ -0,0 +1,10 @@
1MCU = STM32F303
2
3## Features
4MOUSEKEY_ENABLE = yes # Mouse keys
5EXTRAKEY_ENABLE = yes # Audio control and System control
6CONSOLE_ENABLE = yes # Console for debug
7COMMAND_ENABLE = no # Commands for debug and configuration
8NKRO_ENABLE = yes # USB Nkey Rollover
9RGBLIGHT_ENABLE = no
10AUDIO_ENABLE = yes