summaryrefslogtreecommitdiff
path: root/keyboards/rot13labs
diff options
context:
space:
mode:
authorc0ldbru <dennisp98@gmail.com>2024-02-14 16:51:50 -0500
committerGitHub <noreply@github.com>2024-02-14 14:51:50 -0700
commitb7b14678b2b3ab5244475eb1777a69a6e9997ca4 (patch)
tree695cda274422f13607d17754e398525e2cfe8b92 /keyboards/rot13labs
parent1e7c2a8926ad7e64d9203dc35226e6f3c3191a63 (diff)
[Keyboard] Add rot13labs rotc0n macropad (#23028)
* asdds rot13labs rotc0n macropad * Update keyboards/rot13labs/rotc0n/info.json Co-authored-by: Joel Challis <git@zvecr.com> * Delete keyboards/rot13labs/rotc0n/config.h removing config.h * Update keyboards/rot13labs/rotc0n/readme.md Co-authored-by: Ryan <fauxpark@gmail.com> --------- Co-authored-by: c0ldbru <c0ldbrusec@gmail.com> Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/rot13labs')
-rw-r--r--keyboards/rot13labs/rotc0n/info.json39
-rw-r--r--keyboards/rot13labs/rotc0n/keymaps/default/keymap.c18
-rw-r--r--keyboards/rot13labs/rotc0n/readme.md22
-rw-r--r--keyboards/rot13labs/rotc0n/rules.mk1
4 files changed, 80 insertions, 0 deletions
diff --git a/keyboards/rot13labs/rotc0n/info.json b/keyboards/rot13labs/rotc0n/info.json
new file mode 100644
index 0000000000..a9dc27a471
--- /dev/null
+++ b/keyboards/rot13labs/rotc0n/info.json
@@ -0,0 +1,39 @@
+{
+ "manufacturer": "rot13labs",
+ "keyboard_name": "rotc0n badge",
+ "maintainer": "c0ldbru",
+ "bootloader": "usbasploader",
+ "diode_direction": "COL2ROW",
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true
+ },
+ "matrix_pins": {
+ "cols": ["C0", "C1", "C2"],
+ "rows": ["B1", "B0"]
+ },
+ "processor": "atmega328p",
+ "url": "",
+ "usb": {
+ "device_version": "1.0.0",
+ "pid": "0xBEEF",
+ "vid": "0xFEED"
+ },
+ "community_layouts": ["ortho_2x3"],
+ "layouts": {
+ "LAYOUT_ortho_2x3": {
+ "layout": [
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [1, 0], "x": 0, "y": 1},
+ {"matrix": [1, 1], "x": 1, "y": 1},
+ {"matrix": [1, 2], "x": 2, "y": 1}
+ ]
+ }
+ }
+} \ No newline at end of file
diff --git a/keyboards/rot13labs/rotc0n/keymaps/default/keymap.c b/keyboards/rot13labs/rotc0n/keymaps/default/keymap.c
new file mode 100644
index 0000000000..98de5b727d
--- /dev/null
+++ b/keyboards/rot13labs/rotc0n/keymaps/default/keymap.c
@@ -0,0 +1,18 @@
+// Copyright 2023 QMK
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ /*
+ * ┌───┬───┬───┐
+ * │ R │ O │ T │
+ * ├───┼───┼───┤
+ * │ C │ 0 │ N │
+ * └───┴───┴───┘
+ */
+ [0] = LAYOUT_ortho_2x3(
+ KC_R, KC_O, KC_T,
+ KC_C, KC_0, KC_N
+ )
+};
diff --git a/keyboards/rot13labs/rotc0n/readme.md b/keyboards/rot13labs/rotc0n/readme.md
new file mode 100644
index 0000000000..895d3b0257
--- /dev/null
+++ b/keyboards/rot13labs/rotc0n/readme.md
@@ -0,0 +1,22 @@
+# rotcon
+
+![rotcon](https://i.imgur.com/InAAdPph.jpg)
+
+rotcon 0 badge - 6 key macropad
+
+* Keyboard Maintainer: [c0ldbru](https://github.com/c0ldbru)
+* Hardware Supported: rotcon badge // atmega328p
+* Hardware Availability: https://goimagine.com/rotcon-0-badge/
+
+Make example for this keyboard (after setting up your build environment):
+
+ make rot13labs/rotc0n:default
+
+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
+
+You can enter the bootloader to flash on new firmware in one of two ways:
+
+* **Bootmagic**: Hold the "R" key (top left key) and hit reset
+* **boot button**: Hold the boot button on the top of the PCB and hit reset
diff --git a/keyboards/rot13labs/rotc0n/rules.mk b/keyboards/rot13labs/rotc0n/rules.mk
new file mode 100644
index 0000000000..6e7633bfe0
--- /dev/null
+++ b/keyboards/rot13labs/rotc0n/rules.mk
@@ -0,0 +1 @@
+# This file intentionally left blank