aboutsummaryrefslogtreecommitdiff
path: root/keyboards/40percentclub/4x4
diff options
context:
space:
mode:
authorJames Young <[email protected]>2024-03-30 06:51:57 -0700
committerGitHub <[email protected]>2024-03-30 13:51:57 +0000
commit76bd5142cfed1fb8e07b9f32fb0b010fbc068fa4 (patch)
tree4debb51b6be7f09a8f03dcbb37c21d538c5bcba0 /keyboards/40percentclub/4x4
parent831deac212fa0342b9fad9d419b7f15890abfa02 (diff)
downloadqmk_firmware-76bd5142cfed1fb8e07b9f32fb0b010fbc068fa4.tar.gz
qmk_firmware-76bd5142cfed1fb8e07b9f32fb0b010fbc068fa4.zip
Data-Driven Keyboard Conversions: 0-9 (#23357)
Diffstat (limited to 'keyboards/40percentclub/4x4')
-rw-r--r--keyboards/40percentclub/4x4/config.h24
-rw-r--r--keyboards/40percentclub/4x4/keyboard.json (renamed from keyboards/40percentclub/4x4/info.json)13
-rw-r--r--keyboards/40percentclub/4x4/rules.mk12
3 files changed, 13 insertions, 36 deletions
diff --git a/keyboards/40percentclub/4x4/config.h b/keyboards/40percentclub/4x4/config.h
deleted file mode 100644
index 7caa265c1a..0000000000
--- a/keyboards/40percentclub/4x4/config.h
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-#pragma once
-
-/* 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
-
-/*
- * 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/40percentclub/4x4/info.json b/keyboards/40percentclub/4x4/keyboard.json
index aa5e039637..735a3865da 100644
--- a/keyboards/40percentclub/4x4/info.json
+++ b/keyboards/40percentclub/4x4/keyboard.json
@@ -15,6 +15,19 @@
"diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "caterina",
+ "features": {
+ "bootmagic": false,
+ "mousekey": true,
+ "extrakey": true,
+ "console": true,
+ "command": true
+ },
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"community_layouts": ["ortho_4x4", "ortho_4x12"],
"layouts": {
"LAYOUT_ortho_4x4": {
diff --git a/keyboards/40percentclub/4x4/rules.mk b/keyboards/40percentclub/4x4/rules.mk
index dfb1a682dc..1605120646 100644
--- a/keyboards/40percentclub/4x4/rules.mk
+++ b/keyboards/40percentclub/4x4/rules.mk
@@ -1,15 +1,3 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes # Mouse keys
-EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = yes # Console for debug
-COMMAND_ENABLE = yes # Commands for debug and configuration
-NKRO_ENABLE = no # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-AUDIO_ENABLE = no # Audio output
-
# Disable unsupported hardware
RGBLIGHT_SUPPORTED = no
AUDIO_SUPPORTED = no