aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/ibm/model_m
diff options
context:
space:
mode:
authorJames Young2024-04-17 01:15:34 +0200
committerGitHub2024-04-17 01:15:34 +0200
commit7be23a9cb4f40841fc5394395ecf572a13636943 (patch)
tree0323db90ed3bdd02977f33b29d02c7a69c08f9a2 /keyboards/ibm/model_m
parent783eb01037a4a44eba0dddfa0609f5e39423cd7d (diff)
Data-Driven Keyboard Conversions: I (#23533)
Diffstat (limited to 'keyboards/ibm/model_m')
-rw-r--r--keyboards/ibm/model_m/mschwingen/info.json12
-rw-r--r--keyboards/ibm/model_m/mschwingen/rules.mk20
-rw-r--r--keyboards/ibm/model_m/teensypp/keyboard.json (renamed from keyboards/ibm/model_m/teensypp/info.json)5
-rw-r--r--keyboards/ibm/model_m/teensypp/rules.mk12
4 files changed, 18 insertions, 31 deletions
diff --git a/keyboards/ibm/model_m/mschwingen/info.json b/keyboards/ibm/model_m/mschwingen/info.json
index ce740e4a54..0deb57ed03 100644
--- a/keyboards/ibm/model_m/mschwingen/info.json
+++ b/keyboards/ibm/model_m/mschwingen/info.json
@@ -16,6 +16,18 @@
},
"processor": "atmega32u4",
"bootloader": "lufa-dfu",
+ "features": {
+ "bootmagic": false,
+ "mousekey": true,
+ "extrakey": true,
+ "console": true,
+ "command": true,
+ "key_lock": true,
+ "dynamic_macro": true
+ },
+ "build": {
+ "lto": true
+ },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/ibm/model_m/mschwingen/rules.mk b/keyboards/ibm/model_m/mschwingen/rules.mk
index 7d81ffe326..c86801e409 100644
--- a/keyboards/ibm/model_m/mschwingen/rules.mk
+++ b/keyboards/ibm/model_m/mschwingen/rules.mk
@@ -1,20 +1,4 @@
-# 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
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-
CUSTOM_MATRIX = lite
-KEY_LOCK_ENABLE = yes
-
-DYNAMIC_MACRO_ENABLE = yes
UART_DEBUG = no
@@ -22,8 +6,6 @@ SRC += matrix.c
UART_DRIVER_REQUIRED = yes
SPI_DRIVER_REQUIRED = yes
-OPT_DEFS += -DSLEEP_LED_ENABLE # we need our own sleep callbacks to turn of WS2812 LEDs
-
-LTO_ENABLE = yes
+OPT_DEFS += -DSLEEP_LED_ENABLE
DEFAULT_FOLDER = ibm/model_m/mschwingen/led_wired
diff --git a/keyboards/ibm/model_m/teensypp/info.json b/keyboards/ibm/model_m/teensypp/keyboard.json
index dcbed72aeb..4464a299f6 100644
--- a/keyboards/ibm/model_m/teensypp/info.json
+++ b/keyboards/ibm/model_m/teensypp/keyboard.json
@@ -15,6 +15,11 @@
"diode_direction": "ROW2COL",
"processor": "at90usb1286",
"bootloader": "halfkay",
+ "features": {
+ "bootmagic": false,
+ "mousekey": false,
+ "extrakey": false
+ },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/ibm/model_m/teensypp/rules.mk b/keyboards/ibm/model_m/teensypp/rules.mk
deleted file mode 100644
index 1eeda920b4..0000000000
--- a/keyboards/ibm/model_m/teensypp/rules.mk
+++ /dev/null
@@ -1,12 +0,0 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = no # Mouse keys
-EXTRAKEY_ENABLE = no # Audio control and System control
-CONSOLE_ENABLE = no # Console for debug
-COMMAND_ENABLE = no # Commands for debug and configuration
-NKRO_ENABLE = no # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output