summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2024-04-28 00:36:54 +1000
committerGitHub <noreply@github.com>2024-04-28 00:36:54 +1000
commit0ff53b24984e88f385638e47ea076b4d2945c0c6 (patch)
tree73c0e43df640c132507cb146447adfb7d0ed4b49 /data
parent8f8fffc1740be81fbfe4a07a74e9f03962c1062a (diff)
Rename `RGBW` define to `WS2812_RGBW` (#23585)
Diffstat (limited to 'data')
-rw-r--r--data/mappings/info_config.hjson3
-rw-r--r--data/schemas/keyboard.jsonschema6
2 files changed, 7 insertions, 2 deletions
diff --git a/data/mappings/info_config.hjson b/data/mappings/info_config.hjson
index c0417b8839..b61ca04071 100644
--- a/data/mappings/info_config.hjson
+++ b/data/mappings/info_config.hjson
@@ -164,7 +164,6 @@
164 "RGBLIGHT_DEFAULT_SAT": {"info_key": "rgblight.default.sat", "value_type": "int"}, 164 "RGBLIGHT_DEFAULT_SAT": {"info_key": "rgblight.default.sat", "value_type": "int"},
165 "RGBLIGHT_DEFAULT_VAL": {"info_key": "rgblight.default.val", "value_type": "int"}, 165 "RGBLIGHT_DEFAULT_VAL": {"info_key": "rgblight.default.val", "value_type": "int"},
166 "RGBLIGHT_DEFAULT_SPD": {"info_key": "rgblight.default.speed", "value_type": "int"}, 166 "RGBLIGHT_DEFAULT_SPD": {"info_key": "rgblight.default.speed", "value_type": "int"},
167 "RGBW": {"info_key": "rgblight.rgbw", "value_type": "flag"},
168 167
169 // Secure 168 // Secure
170 "SECURE_IDLE_TIMEOUT": {"info_key": "secure.idle_timeout", "value_type": "int"}, 169 "SECURE_IDLE_TIMEOUT": {"info_key": "secure.idle_timeout", "value_type": "int"},
@@ -215,6 +214,7 @@
215 "WS2812_DI_PIN": {"info_key": "ws2812.pin"}, 214 "WS2812_DI_PIN": {"info_key": "ws2812.pin"},
216 "WS2812_I2C_ADDRESS": {"info_key": "ws2812.i2c_address", "value_type": "hex"}, 215 "WS2812_I2C_ADDRESS": {"info_key": "ws2812.i2c_address", "value_type": "hex"},
217 "WS2812_I2C_TIMEOUT": {"info_key": "ws2812.i2c_timeout", "value_type": "int"}, 216 "WS2812_I2C_TIMEOUT": {"info_key": "ws2812.i2c_timeout", "value_type": "int"},
217 "WS2812_RGBW": {"info_key": "ws2812.rgbw", "value_type": "flag"},
218 218
219 "LAYOUTS": {"info_key": "layout_aliases", "value_type": "mapping"}, 219 "LAYOUTS": {"info_key": "layout_aliases", "value_type": "mapping"},
220 220
@@ -229,6 +229,7 @@
229 "PREVENT_STUCK_MODIFIERS": {"info_key": "_invalid.prevent_stuck_mods", "invalid": true}, 229 "PREVENT_STUCK_MODIFIERS": {"info_key": "_invalid.prevent_stuck_mods", "invalid": true},
230 "QMK_KEYS_PER_SCAN": {"info_key": "qmk.keys_per_scan", "value_type": "int", "deprecated": true}, 230 "QMK_KEYS_PER_SCAN": {"info_key": "qmk.keys_per_scan", "value_type": "int", "deprecated": true},
231 "RGB_DI_PIN": {"info_key": "rgblight.pin", "invalid": true, "replace_with": "WS2812_DI_PIN or APA102_DI_PIN"}, 231 "RGB_DI_PIN": {"info_key": "rgblight.pin", "invalid": true, "replace_with": "WS2812_DI_PIN or APA102_DI_PIN"},
232 "RGBW": {"info_key": "rgblight.rgbw", "invalid": true, "replace_with": "WS2812_RGBW"},
232 "RGB_DISABLE_WHEN_USB_SUSPENDED": {"info_key": "_invalid.rgb_matrix_sleep", "invalid": true, "replace_with": "RGB_MATRIX_SLEEP"}, 233 "RGB_DISABLE_WHEN_USB_SUSPENDED": {"info_key": "_invalid.rgb_matrix_sleep", "invalid": true, "replace_with": "RGB_MATRIX_SLEEP"},
233 "RGBLIGHT_ANIMATIONS": {"info_key": "_invalid.rgblight.animations.all", "value_type": "flag", "invalid": true}, 234 "RGBLIGHT_ANIMATIONS": {"info_key": "_invalid.rgblight.animations.all", "value_type": "flag", "invalid": true},
234 "TAPPING_FORCE_HOLD": {"info_key": "tapping.force_hold", "value_type": "flag", "deprecated": true}, 235 "TAPPING_FORCE_HOLD": {"info_key": "tapping.force_hold", "value_type": "flag", "deprecated": true},
diff --git a/data/schemas/keyboard.jsonschema b/data/schemas/keyboard.jsonschema
index 585c64777f..de01809b43 100644
--- a/data/schemas/keyboard.jsonschema
+++ b/data/schemas/keyboard.jsonschema
@@ -661,7 +661,10 @@
661 "$ref": "qmk.definitions.v1#/mcu_pin", 661 "$ref": "qmk.definitions.v1#/mcu_pin",
662 "$comment": "Deprecated: use ws2812.pin instead" 662 "$comment": "Deprecated: use ws2812.pin instead"
663 }, 663 },
664 "rgbw": {"type": "boolean"}, 664 "rgbw": {
665 "type": "boolean",
666 "$comment": "Deprecated: use ws2812.rgbw instead"
667 },
665 "saturation_steps": {"$ref": "qmk.definitions.v1#/unsigned_int"}, 668 "saturation_steps": {"$ref": "qmk.definitions.v1#/unsigned_int"},
666 "sleep": {"type": "boolean"}, 669 "sleep": {"type": "boolean"},
667 "split": {"type": "boolean"}, 670 "split": {"type": "boolean"},
@@ -937,6 +940,7 @@
937 "enum": ["bitbang", "custom", "i2c", "pwm", "spi", "vendor"] 940 "enum": ["bitbang", "custom", "i2c", "pwm", "spi", "vendor"]
938 }, 941 },
939 "pin": {"$ref": "qmk.definitions.v1#/mcu_pin"}, 942 "pin": {"$ref": "qmk.definitions.v1#/mcu_pin"},
943 "rgbw": {"type": "boolean"},
940 "i2c_address": {"$ref": "qmk.definitions.v1#/hex_number_2d"}, 944 "i2c_address": {"$ref": "qmk.definitions.v1#/hex_number_2d"},
941 "i2c_timeout": {"$ref": "qmk.definitions.v1#/unsigned_int"} 945 "i2c_timeout": {"$ref": "qmk.definitions.v1#/unsigned_int"}
942 } 946 }