aboutsummaryrefslogtreecommitdiff
path: root/keyboards/40percentclub/foobar
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/foobar
parent831deac212fa0342b9fad9d419b7f15890abfa02 (diff)
downloadqmk_firmware-76bd5142cfed1fb8e07b9f32fb0b010fbc068fa4.tar.gz
qmk_firmware-76bd5142cfed1fb8e07b9f32fb0b010fbc068fa4.zip
Data-Driven Keyboard Conversions: 0-9 (#23357)
Diffstat (limited to 'keyboards/40percentclub/foobar')
-rw-r--r--keyboards/40percentclub/foobar/config.h5
-rw-r--r--keyboards/40percentclub/foobar/keyboard.json (renamed from keyboards/40percentclub/foobar/info.json)14
-rw-r--r--keyboards/40percentclub/foobar/rules.mk15
3 files changed, 14 insertions, 20 deletions
diff --git a/keyboards/40percentclub/foobar/config.h b/keyboards/40percentclub/foobar/config.h
index 20ecf94708..1710ba42ee 100644
--- a/keyboards/40percentclub/foobar/config.h
+++ b/keyboards/40percentclub/foobar/config.h
@@ -21,11 +21,6 @@
//#define MASTER_RIGHT
//#define EE_HANDS
-/* 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.
diff --git a/keyboards/40percentclub/foobar/info.json b/keyboards/40percentclub/foobar/keyboard.json
index 89fc4d11a0..0a2769e04a 100644
--- a/keyboards/40percentclub/foobar/info.json
+++ b/keyboards/40percentclub/foobar/keyboard.json
@@ -13,7 +13,21 @@
"rows": ["D7", "E6", "B4"]
},
"diode_direction": "COL2ROW",
+ "features": {
+ "bootmagic": true,
+ "mousekey": true,
+ "extrakey": true,
+ "command": true,
+ "nkro": true
+ },
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"split": {
+ "enabled": true,
"soft_serial_pin": "D0"
},
"processor": "atmega32u4",
diff --git a/keyboards/40percentclub/foobar/rules.mk b/keyboards/40percentclub/foobar/rules.mk
deleted file mode 100644
index 25d4c40051..0000000000
--- a/keyboards/40percentclub/foobar/rules.mk
+++ /dev/null
@@ -1,15 +0,0 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes # Mouse keys
-EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = no # Console for debug
-COMMAND_ENABLE = yes # Commands for debug and configuration
-NKRO_ENABLE = yes # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-
-# Enable generic behavior for split boards
-SPLIT_KEYBOARD = yes