aboutsummaryrefslogtreecommitdiff
path: root/keyboards/kprepublic/cstc40/rev3
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/kprepublic/cstc40/rev3')
-rw-r--r--keyboards/kprepublic/cstc40/rev3/keyboard.json67
-rw-r--r--keyboards/kprepublic/cstc40/rev3/readme.md27
2 files changed, 94 insertions, 0 deletions
diff --git a/keyboards/kprepublic/cstc40/rev3/keyboard.json b/keyboards/kprepublic/cstc40/rev3/keyboard.json
new file mode 100644
index 0000000000..2748a6f1fc
--- /dev/null
+++ b/keyboards/kprepublic/cstc40/rev3/keyboard.json
@@ -0,0 +1,67 @@
+{
+ "maintainer": "ClownFish",
+ "bootloader": "tinyuf2",
+ "matrix_pins": {
+ "cols": ["A4", "A5", "A6", "A7", "C4", "C5", "A8", "A15", "C10", "C11", "C12", "D2"],
+ "rows": ["B12", "B1", "B0", "C13"]
+ },
+ "rgb_matrix": {
+ "driver": "ws2812",
+ "layout": [
+ {"matrix": [3, 0], "x": 0, "y": 64, "flags": 1},
+ {"matrix": [3, 1], "x": 20, "y": 64, "flags": 1},
+ {"matrix": [3, 2], "x": 41, "y": 64, "flags": 1},
+ {"matrix": [3, 3], "x": 61, "y": 64, "flags": 1},
+ {"matrix": [3, 4], "x": 82, "y": 64, "flags": 1},
+ {"matrix": [3, 5], "x": 112, "y": 64, "flags": 1},
+ {"matrix": [3, 7], "x": 142, "y": 64, "flags": 1},
+ {"matrix": [3, 8], "x": 163, "y": 64, "flags": 1},
+ {"matrix": [3, 9], "x": 183, "y": 64, "flags": 1},
+ {"matrix": [3, 10], "x": 204, "y": 64, "flags": 1},
+ {"matrix": [3, 11], "x": 224, "y": 64, "flags": 1},
+ {"matrix": [2, 11], "x": 224, "y": 43, "flags": 1},
+ {"matrix": [2, 10], "x": 204, "y": 43, "flags": 4},
+ {"matrix": [2, 9], "x": 183, "y": 43, "flags": 4},
+ {"matrix": [2, 8], "x": 163, "y": 43, "flags": 4},
+ {"matrix": [2, 7], "x": 142, "y": 43, "flags": 4},
+ {"matrix": [2, 6], "x": 122, "y": 43, "flags": 4},
+ {"matrix": [2, 5], "x": 102, "y": 43, "flags": 4},
+ {"matrix": [2, 4], "x": 82, "y": 43, "flags": 4},
+ {"matrix": [2, 3], "x": 61, "y": 43, "flags": 4},
+ {"matrix": [2, 2], "x": 41, "y": 43, "flags": 4},
+ {"matrix": [2, 1], "x": 20, "y": 43, "flags": 4},
+ {"matrix": [2, 0], "x": 0, "y": 43, "flags": 1},
+ {"matrix": [1, 0], "x": 0, "y": 21, "flags": 1},
+ {"matrix": [1, 1], "x": 20, "y": 21, "flags": 4},
+ {"matrix": [1, 2], "x": 41, "y": 21, "flags": 4},
+ {"matrix": [1, 3], "x": 61, "y": 21, "flags": 4},
+ {"matrix": [1, 4], "x": 82, "y": 21, "flags": 4},
+ {"matrix": [1, 5], "x": 102, "y": 21, "flags": 4},
+ {"matrix": [1, 6], "x": 122, "y": 21, "flags": 4},
+ {"matrix": [1, 7], "x": 142, "y": 21, "flags": 4},
+ {"matrix": [1, 8], "x": 163, "y": 21, "flags": 4},
+ {"matrix": [1, 9], "x": 183, "y": 21, "flags": 4},
+ {"matrix": [1, 10], "x": 204, "y": 21, "flags": 4},
+ {"matrix": [1, 11], "x": 224, "y": 21, "flags": 1},
+ {"matrix": [0, 11], "x": 224, "y": 0, "flags": 1},
+ {"matrix": [0, 10], "x": 204, "y": 0, "flags": 4},
+ {"matrix": [0, 9], "x": 183, "y": 0, "flags": 4},
+ {"matrix": [0, 8], "x": 163, "y": 0, "flags": 4},
+ {"matrix": [0, 7], "x": 142, "y": 0, "flags": 4},
+ {"matrix": [0, 6], "x": 122, "y": 0, "flags": 4},
+ {"matrix": [0, 5], "x": 102, "y": 0, "flags": 4},
+ {"matrix": [0, 4], "x": 82, "y": 0, "flags": 4},
+ {"matrix": [0, 3], "x": 61, "y": 0, "flags": 4},
+ {"matrix": [0, 2], "x": 41, "y": 0, "flags": 4},
+ {"matrix": [0, 1], "x": 20, "y": 0, "flags": 4},
+ {"matrix": [0, 0], "x": 0, "y": 0, "flags": 1}
+ ],
+ "max_brightness": 180
+ },
+ "usb": {
+ "device_version": "3.0.0"
+ },
+ "ws2812": {
+ "pin": "B13"
+ }
+}
diff --git a/keyboards/kprepublic/cstc40/rev3/readme.md b/keyboards/kprepublic/cstc40/rev3/readme.md
new file mode 100644
index 0000000000..b372c63579
--- /dev/null
+++ b/keyboards/kprepublic/cstc40/rev3/readme.md
@@ -0,0 +1,27 @@
+# Rev 3
+
+A 40% hotswap ortholinear RGB keyboard from KP Republic.
+
+* **Revision 3: "FXTwink single pcb"**
+* Keyboard Maintainer: [ClownFish](https://github.com/clownfish-og)
+* Hardware Supported: CSTC40 rev3
+* STM32F402RCT6 MCU without separate LED driver and using `tinyuf2` bootloader. Integrated USB connection.
+* Hardware Availability: kprepublic.com
+
+Make example for this keyboard (after setting up your build environment):
+
+ make kprepublic/cstc40/rev3:default
+
+Flashing example for this keyboard:
+
+ make kprepublic/cstc40/rev3:default:flash
+
+See 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).
+
+## Bootloader
+
+Enter the bootloader in 3 ways:
+
+* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
+* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead
+* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available