Skip to content

Commit

Permalink
[Keyboard] Add rot13labs rotc0n macropad (qmk#23028)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
4 people authored Feb 14, 2024
1 parent 1e7c2a8 commit b7b1467
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 0 deletions.
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": {
"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

0 comments on commit b7b1467

Please sign in to comment.