From 2e27806fdbe583117483d023376d579a1075b1f9 Mon Sep 17 00:00:00 2001 From: c0ldbru Date: Tue, 6 Feb 2024 08:44:47 -0500 Subject: [PATCH 1/4] asdds rot13labs rotc0n macropad --- keyboards/rot13labs/rotc0n/config.h | 20 ++++++++++ keyboards/rot13labs/rotc0n/info.json | 38 +++++++++++++++++++ .../rot13labs/rotc0n/keymaps/default/keymap.c | 18 +++++++++ keyboards/rot13labs/rotc0n/readme.md | 22 +++++++++++ keyboards/rot13labs/rotc0n/rules.mk | 1 + 5 files changed, 99 insertions(+) create mode 100644 keyboards/rot13labs/rotc0n/config.h create mode 100644 keyboards/rot13labs/rotc0n/info.json create mode 100644 keyboards/rot13labs/rotc0n/keymaps/default/keymap.c create mode 100644 keyboards/rot13labs/rotc0n/readme.md create mode 100644 keyboards/rot13labs/rotc0n/rules.mk diff --git a/keyboards/rot13labs/rotc0n/config.h b/keyboards/rot13labs/rotc0n/config.h new file mode 100644 index 000000000000..622c30250923 --- /dev/null +++ b/keyboards/rot13labs/rotc0n/config.h @@ -0,0 +1,20 @@ +// Copyright 2023 c0ldbru (@c0ldbru) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +/* + * Feature disable options + * These options are also useful to firmware size reduction. + */ + +/* disable debug print */ +//#define NO_DEBUG + +/* disable print */ +//#define NO_PRINT + +/* disable action features */ +//#define NO_ACTION_LAYER +//#define NO_ACTION_TAPPING +//#define NO_ACTION_ONESHOT diff --git a/keyboards/rot13labs/rotc0n/info.json b/keyboards/rot13labs/rotc0n/info.json new file mode 100644 index 000000000000..fb185dd1f7c5 --- /dev/null +++ b/keyboards/rot13labs/rotc0n/info.json @@ -0,0 +1,38 @@ +{ + "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" + }, + "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 000000000000..98de5b727dce --- /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 000000000000..edd998cb6d15 --- /dev/null +++ b/keyboards/rot13labs/rotc0n/readme.md @@ -0,0 +1,22 @@ +# rotcon + +![rotcon](https://i.imgur.com/InAAdPp.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 000000000000..6e7633bfe015 --- /dev/null +++ b/keyboards/rot13labs/rotc0n/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank From e17b893eef4a112c9380d90aa633cfcd13d3c068 Mon Sep 17 00:00:00 2001 From: c0ldbru Date: Tue, 6 Feb 2024 19:51:24 -0500 Subject: [PATCH 2/4] Update keyboards/rot13labs/rotc0n/info.json Co-authored-by: Joel Challis --- keyboards/rot13labs/rotc0n/info.json | 1 + 1 file changed, 1 insertion(+) diff --git a/keyboards/rot13labs/rotc0n/info.json b/keyboards/rot13labs/rotc0n/info.json index fb185dd1f7c5..a9dc27a4714e 100644 --- a/keyboards/rot13labs/rotc0n/info.json +++ b/keyboards/rot13labs/rotc0n/info.json @@ -23,6 +23,7 @@ "pid": "0xBEEF", "vid": "0xFEED" }, + "community_layouts": ["ortho_2x3"], "layouts": { "LAYOUT_ortho_2x3": { "layout": [ From a086fd7bcc55643e7f1aa09d385e1d71e8ea2edf Mon Sep 17 00:00:00 2001 From: c0ldbru Date: Tue, 6 Feb 2024 20:06:52 -0500 Subject: [PATCH 3/4] Delete keyboards/rot13labs/rotc0n/config.h removing config.h --- keyboards/rot13labs/rotc0n/config.h | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 keyboards/rot13labs/rotc0n/config.h diff --git a/keyboards/rot13labs/rotc0n/config.h b/keyboards/rot13labs/rotc0n/config.h deleted file mode 100644 index 622c30250923..000000000000 --- a/keyboards/rot13labs/rotc0n/config.h +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2023 c0ldbru (@c0ldbru) -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -/* - * Feature disable options - * These options are also useful to firmware size reduction. - */ - -/* disable debug print */ -//#define NO_DEBUG - -/* disable print */ -//#define NO_PRINT - -/* disable action features */ -//#define NO_ACTION_LAYER -//#define NO_ACTION_TAPPING -//#define NO_ACTION_ONESHOT From e3920665899df01e378ff0f65bf2e97f1ef4af0f Mon Sep 17 00:00:00 2001 From: c0ldbru Date: Fri, 9 Feb 2024 09:23:22 -0500 Subject: [PATCH 4/4] Update keyboards/rot13labs/rotc0n/readme.md Co-authored-by: Ryan --- keyboards/rot13labs/rotc0n/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/rot13labs/rotc0n/readme.md b/keyboards/rot13labs/rotc0n/readme.md index edd998cb6d15..895d3b02571c 100644 --- a/keyboards/rot13labs/rotc0n/readme.md +++ b/keyboards/rot13labs/rotc0n/readme.md @@ -1,6 +1,6 @@ # rotcon -![rotcon](https://i.imgur.com/InAAdPp.jpg) +![rotcon](https://i.imgur.com/InAAdPph.jpg) rotcon 0 badge - 6 key macropad