summaryrefslogtreecommitdiff
path: root/keyboards/handwired
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-07-31 03:10:05 +1000
committerGitHub <noreply@github.com>2021-07-30 18:10:05 +0100
commitd1db0087456e0cc7d20477feb22f434c3a4ce51d (patch)
treecb5c71a2840244b28d859bd7a97bdcf99797ee5a /keyboards/handwired
parentcfca9707182aa832bb1c3aa2e93ce3cf749c63e9 (diff)
Onekey cleanup (#13786)
Diffstat (limited to 'keyboards/handwired')
-rw-r--r--keyboards/handwired/onekey/blackpill_f401/chconf.h1
-rw-r--r--keyboards/handwired/onekey/blackpill_f401/config.h8
-rw-r--r--keyboards/handwired/onekey/blackpill_f401/halconf.h1
-rw-r--r--keyboards/handwired/onekey/blackpill_f401/mcuconf.h1
-rw-r--r--keyboards/handwired/onekey/blackpill_f401/readme.md4
-rw-r--r--keyboards/handwired/onekey/blackpill_f401/rules.mk5
-rw-r--r--keyboards/handwired/onekey/blackpill_f411/chconf.h1
-rw-r--r--keyboards/handwired/onekey/blackpill_f411/config.h8
-rw-r--r--keyboards/handwired/onekey/blackpill_f411/halconf.h1
-rw-r--r--keyboards/handwired/onekey/blackpill_f411/mcuconf.h1
-rw-r--r--keyboards/handwired/onekey/blackpill_f411/readme.md4
-rw-r--r--keyboards/handwired/onekey/blackpill_f411/rules.mk5
-rwxr-xr-xkeyboards/handwired/onekey/blackpill_f411_tinyuf2/config.h8
-rwxr-xr-xkeyboards/handwired/onekey/blackpill_f411_tinyuf2/mcuconf.h1
-rwxr-xr-xkeyboards/handwired/onekey/blackpill_f411_tinyuf2/readme.md6
-rwxr-xr-xkeyboards/handwired/onekey/blackpill_f411_tinyuf2/rules.mk5
-rw-r--r--keyboards/handwired/onekey/bluepill/chconf.h1
-rw-r--r--keyboards/handwired/onekey/bluepill/config.h8
-rw-r--r--keyboards/handwired/onekey/bluepill/halconf.h1
-rw-r--r--keyboards/handwired/onekey/bluepill/mcuconf.h1
-rw-r--r--keyboards/handwired/onekey/bluepill/readme.md2
-rw-r--r--keyboards/handwired/onekey/config.h32
-rw-r--r--keyboards/handwired/onekey/elite_c/config.h2
-rw-r--r--keyboards/handwired/onekey/elite_c/readme.md2
-rw-r--r--keyboards/handwired/onekey/elite_c/rules.mk7
-rw-r--r--keyboards/handwired/onekey/info.json2
-rw-r--r--keyboards/handwired/onekey/keymaps/console/keymap.c20
-rw-r--r--keyboards/handwired/onekey/onekey.c2
-rw-r--r--keyboards/handwired/onekey/promicro/config.h2
-rw-r--r--keyboards/handwired/onekey/promicro/rules.mk7
-rw-r--r--keyboards/handwired/onekey/proton_c/config.h10
-rw-r--r--keyboards/handwired/onekey/proton_c/readme.md2
-rw-r--r--keyboards/handwired/onekey/readme.md16
-rw-r--r--keyboards/handwired/onekey/rules.mk17
-rw-r--r--keyboards/handwired/onekey/stm32f0_disco/chconf.h1
-rw-r--r--keyboards/handwired/onekey/stm32f0_disco/config.h10
-rw-r--r--keyboards/handwired/onekey/stm32f0_disco/halconf.h1
-rw-r--r--keyboards/handwired/onekey/stm32f0_disco/mcuconf.h1
-rw-r--r--keyboards/handwired/onekey/stm32f0_disco/readme.md2
-rw-r--r--keyboards/handwired/onekey/teensy_2/config.h2
-rw-r--r--keyboards/handwired/onekey/teensy_2/readme.md2
-rw-r--r--keyboards/handwired/onekey/teensy_2/rules.mk7
-rw-r--r--keyboards/handwired/onekey/teensy_2pp/config.h2
-rw-r--r--keyboards/handwired/onekey/teensy_2pp/readme.md2
-rw-r--r--keyboards/handwired/onekey/teensy_2pp/rules.mk7
-rw-r--r--keyboards/handwired/onekey/teensy_32/chconf.h1
-rw-r--r--keyboards/handwired/onekey/teensy_32/config.h2
-rw-r--r--keyboards/handwired/onekey/teensy_32/halconf.h1
-rw-r--r--keyboards/handwired/onekey/teensy_lc/chconf.h1
-rw-r--r--keyboards/handwired/onekey/teensy_lc/config.h2
-rw-r--r--keyboards/handwired/onekey/teensy_lc/halconf.h1
51 files changed, 121 insertions, 118 deletions
diff --git a/keyboards/handwired/onekey/blackpill_f401/chconf.h b/keyboards/handwired/onekey/blackpill_f401/chconf.h
index de4ab83ec3..04ff4362ae 100644
--- a/keyboards/handwired/onekey/blackpill_f401/chconf.h
+++ b/keyboards/handwired/onekey/blackpill_f401/chconf.h
@@ -36,4 +36,3 @@
#define CH_CFG_FACTORY_PIPES TRUE
#include_next <chconf.h>
-
diff --git a/keyboards/handwired/onekey/blackpill_f401/config.h b/keyboards/handwired/onekey/blackpill_f401/config.h
index 829e84677f..3825d3f7ec 100644
--- a/keyboards/handwired/onekey/blackpill_f401/config.h
+++ b/keyboards/handwired/onekey/blackpill_f401/config.h
@@ -18,13 +18,15 @@
#include "config_common.h"
+#define PRODUCT Onekey Blackpill STM32F401
+
#define MATRIX_COL_PINS { B0 }
#define MATRIX_ROW_PINS { A7 }
#define UNUSED_PINS
-#define BACKLIGHT_PIN A0
-#define BACKLIGHT_PWM_DRIVER PWMD5
-#define BACKLIGHT_PWM_CHANNEL 1
+#define BACKLIGHT_PIN A0
+#define BACKLIGHT_PWM_DRIVER PWMD5
+#define BACKLIGHT_PWM_CHANNEL 1
#define RGB_DI_PIN A1
diff --git a/keyboards/handwired/onekey/blackpill_f401/halconf.h b/keyboards/handwired/onekey/blackpill_f401/halconf.h
index 878879db1e..020a7722f0 100644
--- a/keyboards/handwired/onekey/blackpill_f401/halconf.h
+++ b/keyboards/handwired/onekey/blackpill_f401/halconf.h
@@ -26,4 +26,3 @@
#define HAL_USE_PWM TRUE
#include_next <halconf.h>
-
diff --git a/keyboards/handwired/onekey/blackpill_f401/mcuconf.h b/keyboards/handwired/onekey/blackpill_f401/mcuconf.h
index 034a022db4..e614a9dfa9 100644
--- a/keyboards/handwired/onekey/blackpill_f401/mcuconf.h
+++ b/keyboards/handwired/onekey/blackpill_f401/mcuconf.h
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+
#pragma once
#include_next "mcuconf.h"
diff --git a/keyboards/handwired/onekey/blackpill_f401/readme.md b/keyboards/handwired/onekey/blackpill_f401/readme.md
index 18ed6a43e9..3971cdfa2d 100644
--- a/keyboards/handwired/onekey/blackpill_f401/readme.md
+++ b/keyboards/handwired/onekey/blackpill_f401/readme.md
@@ -1,5 +1,5 @@
-# f401 blackpill onekey
+# F401 Blackpill onekey
-Supported Hardware: *STM32F401CCU6 WeAct v1.3*.
+* Supported Hardware: STM32F401CCU6 WeAct v1.3
To trigger keypress, short together pins *B0* and *A7*.
diff --git a/keyboards/handwired/onekey/blackpill_f401/rules.mk b/keyboards/handwired/onekey/blackpill_f401/rules.mk
index 9b0a72afb9..264e71d0b5 100644
--- a/keyboards/handwired/onekey/blackpill_f401/rules.mk
+++ b/keyboards/handwired/onekey/blackpill_f401/rules.mk
@@ -4,7 +4,4 @@ MCU = STM32F401
# Bootloader selection
BOOTLOADER = stm32-dfu
-# Build Options
-# change yes to no to disable
-#
-KEYBOARD_SHARED_EP = yes
+KEYBOARD_SHARED_EP = yes
diff --git a/keyboards/handwired/onekey/blackpill_f411/chconf.h b/keyboards/handwired/onekey/blackpill_f411/chconf.h
index 4ecd0f52a2..8b55eaeef0 100644
--- a/keyboards/handwired/onekey/blackpill_f411/chconf.h
+++ b/keyboards/handwired/onekey/blackpill_f411/chconf.h
@@ -36,4 +36,3 @@
#define CH_CFG_FACTORY_PIPES TRUE
#include_next <chconf.h>
-
diff --git a/keyboards/handwired/onekey/blackpill_f411/config.h b/keyboards/handwired/onekey/blackpill_f411/config.h
index 829e84677f..16e8f27924 100644
--- a/keyboards/handwired/onekey/blackpill_f411/config.h
+++ b/keyboards/handwired/onekey/blackpill_f411/config.h
@@ -18,13 +18,15 @@
#include "config_common.h"
+#define PRODUCT Onekey Blackpill STM32F411
+
#define MATRIX_COL_PINS { B0 }
#define MATRIX_ROW_PINS { A7 }
#define UNUSED_PINS
-#define BACKLIGHT_PIN A0
-#define BACKLIGHT_PWM_DRIVER PWMD5
-#define BACKLIGHT_PWM_CHANNEL 1
+#define BACKLIGHT_PIN A0
+#define BACKLIGHT_PWM_DRIVER PWMD5
+#define BACKLIGHT_PWM_CHANNEL 1
#define RGB_DI_PIN A1
diff --git a/keyboards/handwired/onekey/blackpill_f411/halconf.h b/keyboards/handwired/onekey/blackpill_f411/halconf.h
index d54f2a26ac..4a0da20890 100644
--- a/keyboards/handwired/onekey/blackpill_f411/halconf.h
+++ b/keyboards/handwired/onekey/blackpill_f411/halconf.h
@@ -26,4 +26,3 @@
#define HAL_USE_PWM TRUE
#include_next <halconf.h>
-
diff --git a/keyboards/handwired/onekey/blackpill_f411/mcuconf.h b/keyboards/handwired/onekey/blackpill_f411/mcuconf.h
index 034a022db4..e614a9dfa9 100644
--- a/keyboards/handwired/onekey/blackpill_f411/mcuconf.h
+++ b/keyboards/handwired/onekey/blackpill_f411/mcuconf.h
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+
#pragma once
#include_next "mcuconf.h"
diff --git a/keyboards/handwired/onekey/blackpill_f411/readme.md b/keyboards/handwired/onekey/blackpill_f411/readme.md
index a1e1e37233..e7eb6f285b 100644
--- a/keyboards/handwired/onekey/blackpill_f411/readme.md
+++ b/keyboards/handwired/onekey/blackpill_f411/readme.md
@@ -1,5 +1,5 @@
-# f411 blackpill onekey
+# F411 Blackpill onekey
-Supported Hardware: *STM32F411CEU6 WeAct v1.3*.
+* Supported Hardware: STM32F411CEU6 WeAct v1.3
To trigger keypress, short together pins *B0* and *A7*.
diff --git a/keyboards/handwired/onekey/blackpill_f411/rules.mk b/keyboards/handwired/onekey/blackpill_f411/rules.mk
index 3ded2a2587..75bc794ef0 100644
--- a/keyboards/handwired/onekey/blackpill_f411/rules.mk
+++ b/keyboards/handwired/onekey/blackpill_f411/rules.mk
@@ -4,7 +4,4 @@ MCU = STM32F411
# Bootloader selection
BOOTLOADER = stm32-dfu
-# Build Options
-# change yes to no to disable
-#
-KEYBOARD_SHARED_EP = yes
+KEYBOARD_SHARED_EP = yes
diff --git a/keyboards/handwired/onekey/blackpill_f411_tinyuf2/config.h b/keyboards/handwired/onekey/blackpill_f411_tinyuf2/config.h
index 95e99aacc1..44ec0bfc6e 100755
--- a/keyboards/handwired/onekey/blackpill_f411_tinyuf2/config.h
+++ b/keyboards/handwired/onekey/blackpill_f411_tinyuf2/config.h
@@ -18,13 +18,15 @@
#include "config_common.h"
+#define PRODUCT Onekey Blackpill STM32F411 TinyUF2
+
#define MATRIX_COL_PINS { B0 }
#define MATRIX_ROW_PINS { A7 }
#define UNUSED_PINS
-#define BACKLIGHT_PIN A0
-#define BACKLIGHT_PWM_DRIVER PWMD5
-#define BACKLIGHT_PWM_CHANNEL 1
+#define BACKLIGHT_PIN A0
+#define BACKLIGHT_PWM_DRIVER PWMD5
+#define BACKLIGHT_PWM_CHANNEL 1
#define RGB_DI_PIN A1
diff --git a/keyboards/handwired/onekey/blackpill_f411_tinyuf2/mcuconf.h b/keyboards/handwired/onekey/blackpill_f411_tinyuf2/mcuconf.h
index ad8aecdb10..d003af03e5 100755
--- a/keyboards/handwired/onekey/blackpill_f411_tinyuf2/mcuconf.h
+++ b/keyboards/handwired/onekey/blackpill_f411_tinyuf2/mcuconf.h
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+
#pragma once
#include_next "mcuconf.h"
diff --git a/keyboards/handwired/onekey/blackpill_f411_tinyuf2/readme.md b/keyboards/handwired/onekey/blackpill_f411_tinyuf2/readme.md
index ff43658f4c..c5ed1260b5 100755
--- a/keyboards/handwired/onekey/blackpill_f411_tinyuf2/readme.md
+++ b/keyboards/handwired/onekey/blackpill_f411_tinyuf2/readme.md
@@ -1,9 +1,9 @@
-# f411 blackpill onekey
+# F411 Blackpill onekey
-Supported Hardware: *STM32F411CEU6 WeAct v1.3*.
+* Supported Hardware: STM32F411CEU6 WeAct v1.3
To trigger keypress, short together pins *B0* and *A7*.
This variant requires the TinyUF2 bootloader to be installed. This can be downloaded from the [tinyuf2 releases page](https://github.com/adafruit/tinyuf2/releases). The F401 blackpill binary works for both F401- and F411-based blackpill devices.
-Double-tap reset to enter bootloader mode. Copy the built uf2 file to the device by dragging the file to the new USB disk. \ No newline at end of file
+Double-tap reset to enter bootloader mode. Copy the built uf2 file to the device by dragging the file to the new USB disk.
diff --git a/keyboards/handwired/onekey/blackpill_f411_tinyuf2/rules.mk b/keyboards/handwired/onekey/blackpill_f411_tinyuf2/rules.mk
index 4d0b1591e2..70180ee790 100755
--- a/keyboards/handwired/onekey/blackpill_f411_tinyuf2/rules.mk
+++ b/keyboards/handwired/onekey/blackpill_f411_tinyuf2/rules.mk
@@ -4,7 +4,4 @@ MCU = STM32F411
# Bootloader selection
BOOTLOADER = tinyuf2
-# Build Options
-# change yes to no to disable
-#
-KEYBOARD_SHARED_EP = yes
+KEYBOARD_SHARED_EP = yes
diff --git a/keyboards/handwired/onekey/bluepill/chconf.h b/keyboards/handwired/onekey/bluepill/chconf.h
index c7a982aedd..63236f2c2c 100644
--- a/keyboards/handwired/onekey/bluepill/chconf.h
+++ b/keyboards/handwired/onekey/bluepill/chconf.h
@@ -26,4 +26,3 @@
#define CH_CFG_USE_CONDVARS_TIMEOUT FALSE
#include_next <chconf.h>
-
diff --git a/keyboards/handwired/onekey/bluepill/config.h b/keyboards/handwired/onekey/bluepill/config.h
index c6166380cf..3eb7699a8b 100644
--- a/keyboards/handwired/onekey/bluepill/config.h
+++ b/keyboards/handwired/onekey/bluepill/config.h
@@ -18,13 +18,15 @@
#include "config_common.h"
+#define PRODUCT Onekey Bluepill STM32F103
+
#define MATRIX_COL_PINS { B0 }
#define MATRIX_ROW_PINS { A7 }
#define UNUSED_PINS
-#define BACKLIGHT_PIN A0
-#define BACKLIGHT_PWM_DRIVER PWMD2
-#define BACKLIGHT_PWM_CHANNEL 1
+#define BACKLIGHT_PIN A0
+#define BACKLIGHT_PWM_DRIVER PWMD2
+#define BACKLIGHT_PWM_CHANNEL 1
#define RGB_DI_PIN A1
diff --git a/keyboards/handwired/onekey/bluepill/halconf.h b/keyboards/handwired/onekey/bluepill/halconf.h
index 956d50f26f..923b4e52d2 100644
--- a/keyboards/handwired/onekey/bluepill/halconf.h
+++ b/keyboards/handwired/onekey/bluepill/halconf.h
@@ -24,4 +24,3 @@
#define HAL_USE_PWM TRUE
#include_next <halconf.h>
-
diff --git a/keyboards/handwired/onekey/bluepill/mcuconf.h b/keyboards/handwired/onekey/bluepill/mcuconf.h
index 99525360b3..5e94a97e21 100644
--- a/keyboards/handwired/onekey/bluepill/mcuconf.h
+++ b/keyboards/handwired/onekey/bluepill/mcuconf.h
@@ -28,4 +28,3 @@
#undef STM32_SPI_USE_SPI2
#define STM32_SPI_USE_SPI2 FALSE
-
diff --git a/keyboards/handwired/onekey/bluepill/readme.md b/keyboards/handwired/onekey/bluepill/readme.md
index 0bf1f5701c..8688e09b4a 100644
--- a/keyboards/handwired/onekey/bluepill/readme.md
+++ b/keyboards/handwired/onekey/bluepill/readme.md
@@ -1,3 +1,3 @@
-# bluepill onekey
+# Bluepill onekey
To trigger keypress, short together pins *B0* and *A7*.
diff --git a/keyboards/handwired/onekey/config.h b/keyboards/handwired/onekey/config.h
index 4643da7cf8..950146a5d3 100644
--- a/keyboards/handwired/onekey/config.h
+++ b/keyboards/handwired/onekey/config.h
@@ -18,31 +18,31 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
/* USB Device descriptor parameter */
-#define VENDOR_ID 0xFEED
-#define PRODUCT_ID 0x6465
-#define DEVICE_VER 0x0001
-#define MANUFACTURER none
-#define PRODUCT onekey
+#define VENDOR_ID 0xFEED
+#define PRODUCT_ID 0x6465
+#define DEVICE_VER 0x0001
+#define MANUFACTURER QMK
/* key matrix size */
#define MATRIX_ROWS 1
#define MATRIX_COLS 1
+/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-/* define if matrix has ghost */
-//#define MATRIX_HAS_GHOST
-
-/* Set 0 if debouncing isn't needed */
-#define DEBOUNCE 5
+/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
+#define DEBOUNCE 5
-#define TAPPING_TERM 500
+/* define if matrix has ghost (lacks anti-ghosting diodes) */
+//#define MATRIX_HAS_GHOST
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
+#define TAPPING_TERM 500
+
/*
* Feature disable options
* These options are also useful to firmware size reduction.
@@ -58,5 +58,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
-//#define NO_ACTION_MACRO
-//#define NO_ACTION_FUNCTION
+
+/* disable these deprecated features by default */
+#define NO_ACTION_MACRO
+#define NO_ACTION_FUNCTION
+
+/* Bootmagic Lite key configuration */
+//#define BOOTMAGIC_LITE_ROW 0
+//#define BOOTMAGIC_LITE_COLUMN 0
diff --git a/keyboards/handwired/onekey/elite_c/config.h b/keyboards/handwired/onekey/elite_c/config.h
index 02c81ce743..f495a1c38b 100644
--- a/keyboards/handwired/onekey/elite_c/config.h
+++ b/keyboards/handwired/onekey/elite_c/config.h
@@ -18,6 +18,8 @@
#include "config_common.h"
+#define PRODUCT Onekey Elite-C
+
#define MATRIX_COL_PINS { F4 }
#define MATRIX_ROW_PINS { F5 }
#define UNUSED_PINS
diff --git a/keyboards/handwired/onekey/elite_c/readme.md b/keyboards/handwired/onekey/elite_c/readme.md
index 28a0885bb3..5320d7b619 100644
--- a/keyboards/handwired/onekey/elite_c/readme.md
+++ b/keyboards/handwired/onekey/elite_c/readme.md
@@ -1,3 +1,3 @@
# Elite-C onekey
-To trigger keypress, short together pins *F4* and *F5* (marked on the PCB as *A3* and *A2*).
+To trigger keypress, short together pins *F4* and *F5*.
diff --git a/keyboards/handwired/onekey/elite_c/rules.mk b/keyboards/handwired/onekey/elite_c/rules.mk
index 2f20507d4d..e8326bcf09 100644
--- a/keyboards/handwired/onekey/elite_c/rules.mk
+++ b/keyboards/handwired/onekey/elite_c/rules.mk
@@ -2,11 +2,4 @@
MCU = atmega32u4
# Bootloader selection
-# Teensy halfkay
-# Pro Micro caterina
-# Atmel DFU atmel-dfu
-# LUFA DFU lufa-dfu
-# QMK DFU qmk-dfu
-# ATmega32A bootloadHID
-# ATmega328P USBasp
BOOTLOADER = atmel-dfu
diff --git a/keyboards/handwired/onekey/info.json b/keyboards/handwired/onekey/info.json
index ac339ba197..641f2aa6f0 100644
--- a/keyboards/handwired/onekey/info.json
+++ b/keyboards/handwired/onekey/info.json
@@ -7,7 +7,7 @@
"layouts": {
"LAYOUT_ortho_1x1": {
"layout": [
- {"x":0, "y":0}
+ {"x": 0, "y": 0}
]
}
}
diff --git a/keyboards/handwired/onekey/keymaps/console/keymap.c b/keyboards/handwired/onekey/keymaps/console/keymap.c
new file mode 100644
index 0000000000..ad8fd402ee
--- /dev/null
+++ b/keyboards/handwired/onekey/keymaps/console/keymap.c
@@ -0,0 +1,20 @@
+#include QMK_KEYBOARD_H
+
+enum custom_keycodes {
+ KC_HELLO = SAFE_RANGE,
+};
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ LAYOUT_ortho_1x1(KC_HELLO)
+};
+
+bool process_record_user(uint16_t keycode, keyrecord_t *record) {
+ switch (keycode) {
+ case KC_HELLO:
+ if (record->event.pressed) {
+ printf("Hello world!\n");
+ }
+ return false;
+ }
+ return true;
+}
diff --git a/keyboards/handwired/onekey/onekey.c b/keyboards/handwired/onekey/onekey.c
index c79e0120eb..cbd67012ce 100644
--- a/keyboards/handwired/onekey/onekey.c
+++ b/keyboards/handwired/onekey/onekey.c
@@ -1 +1 @@
-#include "onekey.h" \ No newline at end of file
+#include "onekey.h"
diff --git a/keyboards/handwired/onekey/promicro/config.h b/keyboards/handwired/onekey/promicro/config.h
index 02c81ce743..9c8961d5ca 100644
--- a/keyboards/handwired/onekey/promicro/config.h
+++ b/keyboards/handwired/onekey/promicro/config.h
@@ -18,6 +18,8 @@
#include "config_common.h"
+#define PRODUCT Onekey Pro Micro
+
#define MATRIX_COL_PINS { F4 }
#define MATRIX_ROW_PINS { F5 }
#define UNUSED_PINS
diff --git a/keyboards/handwired/onekey/promicro/rules.mk b/keyboards/handwired/onekey/promicro/rules.mk
index e6fef51727..cf663a7ed6 100644
--- a/keyboards/handwired/onekey/promicro/rules.mk
+++ b/keyboards/handwired/onekey/promicro/rules.mk
@@ -2,11 +2,4 @@
MCU = atmega32u4
# Bootloader selection
-# Teensy halfkay
-# Pro Micro caterina
-# Atmel DFU atmel-dfu
-# LUFA DFU lufa-dfu
-# QMK DFU qmk-dfu
-# ATmega32A bootloadHID
-# ATmega328P USBasp
BOOTLOADER = caterina
diff --git a/keyboards/handwired/onekey/proton_c/config.h b/keyboards/handwired/onekey/proton_c/config.h
index a364bbee34..5600ae33ae 100644
--- a/keyboards/handwired/onekey/proton_c/config.h
+++ b/keyboards/handwired/onekey/proton_c/config.h
@@ -18,14 +18,16 @@
#include "config_common.h"
+#define PRODUCT Onekey Proton-C
+
#define MATRIX_COL_PINS { A2 }
#define MATRIX_ROW_PINS { A1 }
#define UNUSED_PINS
-#define BACKLIGHT_PIN B8
-#define BACKLIGHT_PWM_DRIVER PWMD4
-#define BACKLIGHT_PWM_CHANNEL 3
-#define BACKLIGHT_PAL_MODE 2
+#define BACKLIGHT_PIN B8
+#define BACKLIGHT_PWM_DRIVER PWMD4
+#define BACKLIGHT_PWM_CHANNEL 3
+#define BACKLIGHT_PAL_MODE 2
#define RGB_DI_PIN A0
#define RGB_CI_PIN B13
diff --git a/keyboards/handwired/onekey/proton_c/readme.md b/keyboards/handwired/onekey/proton_c/readme.md
index be5a2871ca..c8c21838ec 100644
--- a/keyboards/handwired/onekey/proton_c/readme.md
+++ b/keyboards/handwired/onekey/proton_c/readme.md
@@ -1,3 +1,3 @@
-# Proton C onekey
+# Proton-C onekey
To trigger keypress, short together pins *A1* and *A2*.
diff --git a/keyboards/handwired/onekey/readme.md b/keyboards/handwired/onekey/readme.md
index 0e9d6a538a..b630b11748 100644
--- a/keyboards/handwired/onekey/readme.md
+++ b/keyboards/handwired/onekey/readme.md
@@ -1,15 +1,17 @@
-# onekey handwired
+# onekey
-Custom handwired one key keyboard.
+Custom handwired one key keyboard. **See each individual board for pin information.**
-Keyboard Maintainer: QMK Community
-Hardware Supported: bluepill, Elite-C, Pro Micro, Proton C, Teensy 2.0, Teensy++ 2.0, Teensy LC, Teensy 3.2
-Hardware Availability:
-
-**See each individual board for pin infomation**
+* Keyboard Maintainer: QMK Community
+* Hardware Supported: bluepill, Elite-C, Pro Micro, Proton C, Teensy 2.0, Teensy++ 2.0, Teensy LC, Teensy 3.2
+* Hardware Availability: *n/a*
Make example for this keyboard (after setting up your build environment):
make handwired/onekey:default
+Flashing example for this keyboard:
+
+ make handwired/onekey: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).
diff --git a/keyboards/handwired/onekey/rules.mk b/keyboards/handwired/onekey/rules.mk
index df2ec1ecf4..d4676e4495 100644
--- a/keyboards/handwired/onekey/rules.mk
+++ b/keyboards/handwired/onekey/rules.mk
@@ -1,21 +1,20 @@
# Build Options
# change yes to no to disable
#
-BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
-MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
-EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
-CONSOLE_ENABLE = yes # Console for debug(+400)
+BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
+MOUSEKEY_ENABLE = yes # Mouse keys
+EXTRAKEY_ENABLE = yes # Audio control and System control
+CONSOLE_ENABLE = yes # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
NKRO_ENABLE = yes # USB Nkey Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default
+BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config)
-UNICODE_ENABLE = no # Unicode
-BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
-AUDIO_ENABLE = no # Audio output on port C6
+BLUETOOTH_ENABLE = no # Enable Bluetooth
+AUDIO_ENABLE = no # Audio output
DEFAULT_FOLDER = handwired/onekey/promicro
+
LAYOUTS = ortho_1x1
diff --git a/keyboards/handwired/onekey/stm32f0_disco/chconf.h b/keyboards/handwired/onekey/stm32f0_disco/chconf.h
index 33ceb1431e..1e497767d5 100644
--- a/keyboards/handwired/onekey/stm32f0_disco/chconf.h
+++ b/keyboards/handwired/onekey/stm32f0_disco/chconf.h
@@ -28,4 +28,3 @@
#define CH_CFG_USE_CONDVARS_TIMEOUT FALSE
#include_next <chconf.h>
-
diff --git a/keyboards/handwired/onekey/stm32f0_disco/config.h b/keyboards/handwired/onekey/stm32f0_disco/config.h
index 0d6dd18fa2..e0f6d00050 100644
--- a/keyboards/handwired/onekey/stm32f0_disco/config.h
+++ b/keyboards/handwired/onekey/stm32f0_disco/config.h
@@ -18,14 +18,16 @@
#include "config_common.h"
+#define PRODUCT Onekey STM32F072 Discovery
+
#define MATRIX_COL_PINS { B4 }
#define MATRIX_ROW_PINS { B5 }
#define UNUSED_PINS
-#define BACKLIGHT_PIN C8
-#define BACKLIGHT_PWM_DRIVER PWMD3
-#define BACKLIGHT_PWM_CHANNEL 3
-#define BACKLIGHT_PAL_MODE 0
+#define BACKLIGHT_PIN C8
+#define BACKLIGHT_PWM_DRIVER PWMD3
+#define BACKLIGHT_PWM_CHANNEL 3
+#define BACKLIGHT_PAL_MODE 0
#define RGB_DI_PIN B15
diff --git a/keyboards/handwired/onekey/stm32f0_disco/halconf.h b/keyboards/handwired/onekey/stm32f0_disco/halconf.h
index cb7de67386..78ed6586c8 100644
--- a/keyboards/handwired/onekey/stm32f0_disco/halconf.h
+++ b/keyboards/handwired/onekey/stm32f0_disco/halconf.h
@@ -24,4 +24,3 @@
#define HAL_USE_PWM TRUE
#include_next <halconf.h>
-
diff --git a/keyboards/handwired/onekey/stm32f0_disco/mcuconf.h b/keyboards/handwired/onekey/stm32f0_disco/mcuconf.h
index 52d39e4dd4..ea4f9373a0 100644
--- a/keyboards/handwired/onekey/stm32f0_disco/mcuconf.h
+++ b/keyboards/handwired/onekey/stm32f0_disco/mcuconf.h
@@ -25,4 +25,3 @@
#undef STM32_PWM_USE_TIM3
#define STM32_PWM_USE_TIM3 TRUE
-
diff --git a/keyboards/handwired/onekey/stm32f0_disco/readme.md b/keyboards/handwired/onekey/stm32f0_disco/readme.md
index 48d999d69c..0f5c01984d 100644
--- a/keyboards/handwired/onekey/stm32f0_disco/readme.md
+++ b/keyboards/handwired/onekey/stm32f0_disco/readme.md
@@ -1,5 +1,5 @@
# STM32F072 Discovery kit onekey
-Supported Hardware: <https://www.st.com/en/evaluation-tools/32f072bdiscovery.html>
+* Supported Hardware: [STM32F072 Discovery](https://www.st.com/en/evaluation-tools/32f072bdiscovery.html)
To trigger keypress, short together pins *B4* and *B5*.
diff --git a/keyboards/handwired/onekey/teensy_2/config.h b/keyboards/handwired/onekey/teensy_2/config.h
index 167373cd39..b83262ef05 100644
--- a/keyboards/handwired/onekey/teensy_2/config.h
+++ b/keyboards/handwired/onekey/teensy_2/config.h
@@ -18,6 +18,8 @@
#include "config_common.h"
+#define PRODUCT Onekey Teensy 2.0
+
#define MATRIX_COL_PINS { F4 }
#define MATRIX_ROW_PINS { F5 }
#define UNUSED_PINS
diff --git a/keyboards/handwired/onekey/teensy_2/readme.md b/keyboards/handwired/onekey/teensy_2/readme.md
index 86a3114e56..bf4cf6d2fe 100644
--- a/keyboards/handwired/onekey/teensy_2/readme.md
+++ b/keyboards/handwired/onekey/teensy_2/readme.md
@@ -1,3 +1,3 @@
# Teensy 2.0 onekey
-To trigger keypress, short together pins *F4* and *F5*
+To trigger keypress, short together pins *F4* and *F5*.
diff --git a/keyboards/handwired/onekey/teensy_2/rules.mk b/keyboards/handwired/onekey/teensy_2/rules.mk
index ae398e2588..320633f80f 100644
--- a/keyboards/handwired/onekey/teensy_2/rules.mk
+++ b/keyboards/handwired/onekey/teensy_2/rules.mk
@@ -2,11 +2,4 @@
MCU = atmega32u4
# Bootloader selection
-# Teensy halfkay
-# Pro Micro caterina
-# Atmel DFU atmel-dfu
-# LUFA DFU lufa-dfu
-# QMK DFU qmk-dfu
-# ATmega32A bootloadHID
-# ATmega328P USBasp
BOOTLOADER = halfkay
diff --git a/keyboards/handwired/onekey/teensy_2pp/config.h b/keyboards/handwired/onekey/teensy_2pp/config.h
index 167373cd39..886ad70cbf 100644
--- a/keyboards/handwired/onekey/teensy_2pp/config.h
+++ b/keyboards/handwired/onekey/teensy_2pp/config.h
@@ -18,6 +18,8 @@
#include "config_common.h"
+#define PRODUCT Onekey Teensy 2++
+
#define MATRIX_COL_PINS { F4 }
#define MATRIX_ROW_PINS { F5 }
#define UNUSED_PINS
diff --git a/keyboards/handwired/onekey/teensy_2pp/readme.md b/keyboards/handwired/onekey/teensy_2pp/readme.md
index 243b08df17..c2c96d12cd 100644
--- a/keyboards/handwired/onekey/teensy_2pp/readme.md
+++ b/keyboards/handwired/onekey/teensy_2pp/readme.md
@@ -1,3 +1,3 @@
# Teensy++ 2.0 onekey
-To trigger keypress, short together pins *F4* and *F5*
+To trigger keypress, short together pins *F4* and *F5*.
diff --git a/keyboards/handwired/onekey/teensy_2pp/rules.mk b/keyboards/handwired/onekey/teensy_2pp/rules.mk
index c421eb862e..149471682d 100644
--- a/keyboards/handwired/onekey/teensy_2pp/rules.mk
+++ b/keyboards/handwired/onekey/teensy_2pp/rules.mk
@@ -2,11 +2,4 @@
MCU = at90usb1286
# Bootloader selection
-# Teensy halfkay
-# Pro Micro caterina
-# Atmel DFU atmel-dfu
-# LUFA DFU lufa-dfu
-# QMK DFU qmk-dfu
-# ATmega32A bootloadHID
-# ATmega328P USBasp
BOOTLOADER = halfkay
diff --git a/keyboards/handwired/onekey/teensy_32/chconf.h b/keyboards/handwired/onekey/teensy_32/chconf.h
index 199e8d05bd..b7b23f268c 100644
--- a/keyboards/handwired/onekey/teensy_32/chconf.h
+++ b/keyboards/handwired/onekey/teensy_32/chconf.h
@@ -50,4 +50,3 @@
#define CH_DBG_FILL_THREADS TRUE
#include_next <chconf.h>
-
diff --git a/keyboards/handwired/onekey/teensy_32/config.h b/keyboards/handwired/onekey/teensy_32/config.h
index a4839135a0..180f324875 100644
--- a/keyboards/handwired/onekey/teensy_32/config.h
+++ b/keyboards/handwired/onekey/teensy_32/config.h
@@ -19,6 +19,8 @@
// TODO: including this causes "error: expected identifier before '(' token" errors
//#include "config_common.h"
+#define PRODUCT Onekey Teensy 3.2
+
#define MATRIX_COL_PINS { D5 }
#define MATRIX_ROW_PINS { B2 }
#define UNUSED_PINS
diff --git a/keyboards/handwired/onekey/teensy_32/halconf.h b/keyboards/handwired/onekey/teensy_32/halconf.h
index e5019779c7..5c99dcbd9d 100644
--- a/keyboards/handwired/onekey/teensy_32/halconf.h
+++ b/keyboards/handwired/onekey/teensy_32/halconf.h
@@ -24,4 +24,3 @@
#define HAL_USE_I2C TRUE
#include_next <halconf.h>
-
diff --git a/keyboards/handwired/onekey/teensy_lc/chconf.h b/keyboards/handwired/onekey/teensy_lc/chconf.h
index cfcced3cf7..03dc5f0c95 100644
--- a/keyboards/handwired/onekey/teensy_lc/chconf.h
+++ b/keyboards/handwired/onekey/teensy_lc/chconf.h
@@ -50,4 +50,3 @@
#define CH_DBG_FILL_THREADS TRUE
#include_next <chconf.h>
-
diff --git a/keyboards/handwired/onekey/teensy_lc/config.h b/keyboards/handwired/onekey/teensy_lc/config.h
index a4839135a0..ad30f969f5 100644
--- a/keyboards/handwired/onekey/teensy_lc/config.h
+++ b/keyboards/handwired/onekey/teensy_lc/config.h
@@ -19,6 +19,8 @@
// TODO: including this causes "error: expected identifier before '(' token" errors
//#include "config_common.h"
+#define PRODUCT Onekey Teensy LC
+
#define MATRIX_COL_PINS { D5 }
#define MATRIX_ROW_PINS { B2 }
#define UNUSED_PINS
diff --git a/keyboards/handwired/onekey/teensy_lc/halconf.h b/keyboards/handwired/onekey/teensy_lc/halconf.h
index bdf1ba4310..89e2bcbbee 100644
--- a/keyboards/handwired/onekey/teensy_lc/halconf.h
+++ b/keyboards/handwired/onekey/teensy_lc/halconf.h
@@ -24,4 +24,3 @@
#define HAL_USE_I2C TRUE
#include_next <halconf.h>
-