Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds rot13labs rotc0n macropad #23028

Merged
merged 6 commits into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions keyboards/rot13labs/rotc0n/info.json
Original file line number Diff line number Diff line change
@@ -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": {
c0ldbru marked this conversation as resolved.
Show resolved Hide resolved
"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}
]
}
}
}
18 changes: 18 additions & 0 deletions keyboards/rot13labs/rotc0n/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -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
)
};
22 changes: 22 additions & 0 deletions keyboards/rot13labs/rotc0n/readme.md
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions keyboards/rot13labs/rotc0n/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# This file intentionally left blank
Loading