summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorJames Young <18669334+noroadsleft@users.noreply.github.com>2024-04-16 16:15:34 -0700
committerGitHub <noreply@github.com>2024-04-17 00:15:34 +0100
commit7be23a9cb4f40841fc5394395ecf572a13636943 (patch)
tree0323db90ed3bdd02977f33b29d02c7a69c08f9a2 /keyboards
parent783eb01037a4a44eba0dddfa0609f5e39423cd7d (diff)
Data-Driven Keyboard Conversions: I (#23533)
Diffstat (limited to 'keyboards')
-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
-rw-r--r--keyboards/ibm/model_m_4th_gen/overnumpad_1xb/info.json11
-rw-r--r--keyboards/ibm/model_m_4th_gen/overnumpad_1xb/rules.mk16
-rw-r--r--keyboards/ibnuda/squiggle/rev1/keyboard.json (renamed from keyboards/ibnuda/squiggle/rev1/info.json)6
-rw-r--r--keyboards/ibnuda/squiggle/rev1/rules.mk12
-rw-r--r--keyboards/idobao/id42/keyboard.json (renamed from keyboards/idobao/id42/info.json)3
-rwxr-xr-xkeyboards/idobao/id42/rules.mk4
-rw-r--r--keyboards/idobao/id61/keyboard.json (renamed from keyboards/idobao/id61/info.json)3
-rw-r--r--keyboards/idobao/id61/rules.mk5
-rw-r--r--keyboards/idobao/id63/keyboard.json (renamed from keyboards/idobao/id63/info.json)3
-rw-r--r--keyboards/idobao/id63/rules.mk4
-rw-r--r--keyboards/idobao/id67/keyboard.json (renamed from keyboards/idobao/id67/info.json)3
-rw-r--r--keyboards/idobao/id67/rules.mk4
-rw-r--r--keyboards/idobao/id80/v3/ansi/keyboard.json (renamed from keyboards/idobao/id80/v3/ansi/info.json)3
-rw-r--r--keyboards/idobao/id80/v3/ansi/rules.mk4
-rw-r--r--keyboards/idobao/id87/v2/keyboard.json (renamed from keyboards/idobao/id87/v2/info.json)3
-rw-r--r--keyboards/idobao/id87/v2/rules.mk4
-rwxr-xr-xkeyboards/idobao/montex/v2/keyboard.json (renamed from keyboards/idobao/montex/v2/info.json)3
-rwxr-xr-xkeyboards/idobao/montex/v2/rules.mk4
-rw-r--r--keyboards/ingrained/info.json12
-rw-r--r--keyboards/ingrained/rules.mk15
-rw-r--r--keyboards/inland/kb83/info.json9
-rw-r--r--keyboards/inland/kb83/rules.mk18
-rw-r--r--keyboards/input_club/ergodox_infinity/info.json12
-rw-r--r--keyboards/input_club/ergodox_infinity/rules.mk19
28 files changed, 81 insertions, 148 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
diff --git a/keyboards/ibm/model_m_4th_gen/overnumpad_1xb/info.json b/keyboards/ibm/model_m_4th_gen/overnumpad_1xb/info.json
index 37fddaaf8f..0f67e6606d 100644
--- a/keyboards/ibm/model_m_4th_gen/overnumpad_1xb/info.json
+++ b/keyboards/ibm/model_m_4th_gen/overnumpad_1xb/info.json
@@ -6,7 +6,10 @@
"usb": {
"vid": "0x16C0",
"pid": "0x27DB",
- "device_version": "0.0.1"
+ "device_version": "0.0.1",
+ "shared_endpoint": {
+ "keyboard": true
+ }
},
"indicators": {
"caps_lock": "C11",
@@ -16,6 +19,12 @@
"processor": "STM32F446", // RET6
"bootloader": "stm32-dfu",
"diode_direction": "ROW2COL",
+ "features": {
+ "bootmagic": true,
+ "mousekey": true,
+ "extrakey": true,
+ "haptic": true
+ },
"matrix_pins": {
// All pins in order from left-to-right, as seen on the keyboard:
// C3, C2, C1, C0, A3, A4, A5, A6, A7, C4, C5, B0, B1, B10, B12, B13, B14, B15, C6, C7, C8, C9, A8, A9, A10,
diff --git a/keyboards/ibm/model_m_4th_gen/overnumpad_1xb/rules.mk b/keyboards/ibm/model_m_4th_gen/overnumpad_1xb/rules.mk
index 9131708828..a521203b32 100644
--- a/keyboards/ibm/model_m_4th_gen/overnumpad_1xb/rules.mk
+++ b/keyboards/ibm/model_m_4th_gen/overnumpad_1xb/rules.mk
@@ -1,17 +1 @@
-# 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 = 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
-ENCODER_ENABLE = no # Enable rotary encoder support
-AUDIO_ENABLE = no # Audio output
-KEYBOARD_SHARED_EP = yes # Free up some extra endpoints - needed if console+mouse+extra
-
-HAPTIC_ENABLE = yes
HAPTIC_DRIVER = solenoid
diff --git a/keyboards/ibnuda/squiggle/rev1/info.json b/keyboards/ibnuda/squiggle/rev1/keyboard.json
index 862b6323b0..3baafefc84 100644
--- a/keyboards/ibnuda/squiggle/rev1/info.json
+++ b/keyboards/ibnuda/squiggle/rev1/keyboard.json
@@ -19,6 +19,12 @@
},
"processor": "atmega32u4",
"bootloader": "caterina",
+ "features": {
+ "bootmagic": false,
+ "mousekey": false,
+ "extrakey": false,
+ "console": true
+ },
"community_layouts": ["split_3x5_3"],
"layouts": {
"LAYOUT": {
diff --git a/keyboards/ibnuda/squiggle/rev1/rules.mk b/keyboards/ibnuda/squiggle/rev1/rules.mk
deleted file mode 100644
index 2382d57035..0000000000
--- a/keyboards/ibnuda/squiggle/rev1/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 = yes # 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
diff --git a/keyboards/idobao/id42/info.json b/keyboards/idobao/id42/keyboard.json
index ace2033493..14db7641ea 100644
--- a/keyboards/idobao/id42/info.json
+++ b/keyboards/idobao/id42/keyboard.json
@@ -10,7 +10,8 @@
"extrakey": true,
"console": false,
"command": false,
- "nkro": true
+ "nkro": true,
+ "rgb_matrix": true
},
"ws2812": {
"pin": "B3"
diff --git a/keyboards/idobao/id42/rules.mk b/keyboards/idobao/id42/rules.mk
deleted file mode 100755
index 58e39b17a5..0000000000
--- a/keyboards/idobao/id42/rules.mk
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file intentionally left blank
-# ** settings are data driven & stored in `info.json` **
-
-RGB_MATRIX_ENABLE = yes
diff --git a/keyboards/idobao/id61/info.json b/keyboards/idobao/id61/keyboard.json
index 0b1c51279d..cb55f1750d 100644
--- a/keyboards/idobao/id61/info.json
+++ b/keyboards/idobao/id61/keyboard.json
@@ -10,7 +10,8 @@
"console": false,
"extrakey": true,
"mousekey": true,
- "nkro": true
+ "nkro": true,
+ "rgb_matrix": true
},
"ws2812": {
"pin": "F0"
diff --git a/keyboards/idobao/id61/rules.mk b/keyboards/idobao/id61/rules.mk
deleted file mode 100644
index ed51a57621..0000000000
--- a/keyboards/idobao/id61/rules.mk
+++ /dev/null
@@ -1,5 +0,0 @@
-# Copyright 2022 Vino Rodrigues (@vinorodrigues)
-# SPDX-License-Identifier: GPL-2.0-or-later
-# ** settings are data driven & stored in `info.json` **
-
-RGB_MATRIX_ENABLE = yes
diff --git a/keyboards/idobao/id63/info.json b/keyboards/idobao/id63/keyboard.json
index 573fb44030..1969ca4cf7 100644
--- a/keyboards/idobao/id63/info.json
+++ b/keyboards/idobao/id63/keyboard.json
@@ -10,7 +10,8 @@
"console": false,
"extrakey": true,
"mousekey": true,
- "nkro": true
+ "nkro": true,
+ "rgb_matrix": true
},
"ws2812": {
"pin": "B7"
diff --git a/keyboards/idobao/id63/rules.mk b/keyboards/idobao/id63/rules.mk
deleted file mode 100644
index 58e39b17a5..0000000000
--- a/keyboards/idobao/id63/rules.mk
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file intentionally left blank
-# ** settings are data driven & stored in `info.json` **
-
-RGB_MATRIX_ENABLE = yes
diff --git a/keyboards/idobao/id67/info.json b/keyboards/idobao/id67/keyboard.json
index 7c5308d315..64c3623fd6 100644
--- a/keyboards/idobao/id67/info.json
+++ b/keyboards/idobao/id67/keyboard.json
@@ -10,7 +10,8 @@
"extrakey": true,
"command": false,
"console": false,
- "nkro": true
+ "nkro": true,
+ "rgb_matrix": true
},
"ws2812": {
"pin": "F0"
diff --git a/keyboards/idobao/id67/rules.mk b/keyboards/idobao/id67/rules.mk
deleted file mode 100644
index 4341508fde..0000000000
--- a/keyboards/idobao/id67/rules.mk
+++ /dev/null
@@ -1,4 +0,0 @@
-# Build Options
-# change yes to no to disable
-#
-RGB_MATRIX_ENABLE = yes # Enable RGB Matrix feature
diff --git a/keyboards/idobao/id80/v3/ansi/info.json b/keyboards/idobao/id80/v3/ansi/keyboard.json
index 19dc8c67a7..6200c2e88c 100644
--- a/keyboards/idobao/id80/v3/ansi/info.json
+++ b/keyboards/idobao/id80/v3/ansi/keyboard.json
@@ -10,7 +10,8 @@
"extrakey": true,
"console": false,
"command": false,
- "nkro": true
+ "nkro": true,
+ "rgb_matrix": true
},
"rgb_matrix": {
"animations": {
diff --git a/keyboards/idobao/id80/v3/ansi/rules.mk b/keyboards/idobao/id80/v3/ansi/rules.mk
deleted file mode 100644
index 58e39b17a5..0000000000
--- a/keyboards/idobao/id80/v3/ansi/rules.mk
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file intentionally left blank
-# ** settings are data driven & stored in `info.json` **
-
-RGB_MATRIX_ENABLE = yes
diff --git a/keyboards/idobao/id87/v2/info.json b/keyboards/idobao/id87/v2/keyboard.json
index 4a6099207c..0ece932274 100644
--- a/keyboards/idobao/id87/v2/info.json
+++ b/keyboards/idobao/id87/v2/keyboard.json
@@ -10,7 +10,8 @@
"extrakey": true,
"console": false,
"command": false,
- "nkro": true
+ "nkro": true,
+ "rgb_matrix": true
},
"ws2812": {
"pin": "E2"
diff --git a/keyboards/idobao/id87/v2/rules.mk b/keyboards/idobao/id87/v2/rules.mk
deleted file mode 100644
index 58e39b17a5..0000000000
--- a/keyboards/idobao/id87/v2/rules.mk
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file intentionally left blank
-# ** settings are data driven & stored in `info.json` **
-
-RGB_MATRIX_ENABLE = yes
diff --git a/keyboards/idobao/montex/v2/info.json b/keyboards/idobao/montex/v2/keyboard.json
index aefc3e4561..6c00fd538d 100755
--- a/keyboards/idobao/montex/v2/info.json
+++ b/keyboards/idobao/montex/v2/keyboard.json
@@ -10,7 +10,8 @@
"console": false,
"extrakey": true,
"mousekey": true,
- "nkro": true
+ "nkro": true,
+ "rgb_matrix": true
},
"ws2812": {
"pin": "B1"
diff --git a/keyboards/idobao/montex/v2/rules.mk b/keyboards/idobao/montex/v2/rules.mk
deleted file mode 100755
index d249ac15a7..0000000000
--- a/keyboards/idobao/montex/v2/rules.mk
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file intentionally mostly left blank
-# ** settings are data driven & stored in `info.json` **
-
-RGB_MATRIX_ENABLE = yes
diff --git a/keyboards/ingrained/info.json b/keyboards/ingrained/info.json
index d9259d5f32..ec6422fb0f 100644
--- a/keyboards/ingrained/info.json
+++ b/keyboards/ingrained/info.json
@@ -6,10 +6,20 @@
"usb": {
"vid": "0xB33F",
"pid": "0x58E4",
- "device_version": "0.0.1"
+ "device_version": "0.0.1",
+ "no_startup_check": true
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
+ "features": {
+ "bootmagic": false,
+ "mousekey": true,
+ "extrakey": true,
+ "unicode": true
+ },
+ "build": {
+ "lto": true
+ },
"community_layouts": ["split_3x5_3", "split_3x6_3"],
"layouts": {
"LAYOUT_split_3x6_3": {
diff --git a/keyboards/ingrained/rules.mk b/keyboards/ingrained/rules.mk
index e9a8002f90..c04c3c92ed 100644
--- a/keyboards/ingrained/rules.mk
+++ b/keyboards/ingrained/rules.mk
@@ -1,19 +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 = 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
-UNICODE_ENABLE = yes
CUSTOM_MATRIX = lite
-NO_USB_STARTUP_CHECK = yes
-LTO_ENABLE = yes
SRC += matrix.c
I2C_DRIVER_REQUIRED = yes
diff --git a/keyboards/inland/kb83/info.json b/keyboards/inland/kb83/info.json
index b4396fb630..31ca8f1bda 100644
--- a/keyboards/inland/kb83/info.json
+++ b/keyboards/inland/kb83/info.json
@@ -34,6 +34,15 @@
},
"processor": "WB32FQ95",
"bootloader": "wb32-dfu",
+ "features": {
+ "bootmagic": true,
+ "mousekey": false,
+ "extrakey": true,
+ "nkro": true,
+ "rgb_matrix": true,
+ "dip_switch": true,
+ "encoder": true
+ },
"matrix_pins": {
"cols": ["C1", "C2", "C3", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C4", "C5", "B0", "B1", "B2"],
"rows": ["B15", "C6", "C7", "C8", "C9", "A8"]
diff --git a/keyboards/inland/kb83/rules.mk b/keyboards/inland/kb83/rules.mk
index aefdb5a168..2bdd4fd92e 100644
--- a/keyboards/inland/kb83/rules.mk
+++ b/keyboards/inland/kb83/rules.mk
@@ -1,17 +1 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = no # Mouse keys
-EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = no # Console for debug
-COMMAND_ENABLE = no # Commands for debug and configuration
-KEYBOARD_SHARED_EP = no
-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
-DIP_SWITCH_ENABLE = yes # DPI Switch
-ENCODER_ENABLE = yes
-RGB_MATRIX_ENABLE = yes
-#RGB_MATRIX_CUSTOM_USER = yes #Add turnoff LED
+#RGB_MATRIX_CUSTOM_USER = yes
diff --git a/keyboards/input_club/ergodox_infinity/info.json b/keyboards/input_club/ergodox_infinity/info.json
index 51bf7a5f12..6f47d72685 100644
--- a/keyboards/input_club/ergodox_infinity/info.json
+++ b/keyboards/input_club/ergodox_infinity/info.json
@@ -43,6 +43,18 @@
},
"processor": "MK20DX256",
"bootloader": "kiibohd",
+ "features": {
+ "bootmagic": false,
+ "mousekey": true,
+ "extrakey": true,
+ "command": true,
+ "nkro": true,
+ "led_matrix": true,
+ "unicode": true,
+ "swap_hands": true,
+ "sleep_led": true,
+ "st7565": true
+ },
"board": "IC_TEENSY_3_1",
"tapping": {
"toggle": 1
diff --git a/keyboards/input_club/ergodox_infinity/rules.mk b/keyboards/input_club/ergodox_infinity/rules.mk
index da68a7f25d..c6e2988321 100644
--- a/keyboards/input_club/ergodox_infinity/rules.mk
+++ b/keyboards/input_club/ergodox_infinity/rules.mk
@@ -1,20 +1 @@
-# 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 = no # Console for debug
-COMMAND_ENABLE = yes # Commands for debug and configuration
-NKRO_ENABLE = yes # Enable N-Key Rollover
-UNICODE_ENABLE = yes # Unicode
-SWAP_HANDS_ENABLE= yes # Allow swapping hands of keyboard
-SLEEP_LED_ENABLE = yes
-
-RGBLIGHT_ENABLE = no
-
SERIAL_DRIVER = usart
-
-ST7565_ENABLE = yes
-
-LED_MATRIX_ENABLE = yes