summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-09-26 10:04:21 +1000
committerGitHub <noreply@github.com>2022-09-26 01:04:21 +0100
commit675d91b813db6488ccc1ca55555ebbf0d4a45dc0 (patch)
tree1ee01a98cd8c902c267dc52a4a7bfd6cd7adcd60 /data
parent5c2b598c42b102f6133a4b8cece61246d09a82fd (diff)
Generate DD RGBLight/LED/RGB Matrix animation defines (#18459)
Diffstat (limited to 'data')
-rw-r--r--data/mappings/info_config.json10
-rw-r--r--data/schemas/keyboard.jsonschema12
2 files changed, 12 insertions, 10 deletions
diff --git a/data/mappings/info_config.json b/data/mappings/info_config.json
index b27081e037..49b0a1bfe0 100644
--- a/data/mappings/info_config.json
+++ b/data/mappings/info_config.json
@@ -64,16 +64,6 @@
"RGB_DI_PIN": {"info_key": "rgblight.pin"},
"RGBLED_NUM": {"info_key": "rgblight.led_count", "value_type": "int"},
"RGBLED_SPLIT": {"info_key": "rgblight.split_count", "value_type": "array.int"},
- "RGBLIGHT_EFFECT_ALTERNATING": {"info_key": "rgblight.animations.alternating", "value_type": "bool"},
- "RGBLIGHT_EFFECT_BREATHING": {"info_key": "rgblight.animations.breathing", "value_type": "bool"},
- "RGBLIGHT_EFFECT_CHRISTMAS": {"info_key": "rgblight.animations.christmas", "value_type": "bool"},
- "RGBLIGHT_EFFECT_KNIGHT": {"info_key": "rgblight.animations.knight", "value_type": "bool"},
- "RGBLIGHT_EFFECT_RAINBOW_MOOD": {"info_key": "rgblight.animations.rainbow_mood", "value_type": "bool"},
- "RGBLIGHT_EFFECT_RAINBOW_SWIRL": {"info_key": "rgblight.animations.rainbow_swirl", "value_type": "bool"},
- "RGBLIGHT_EFFECT_RGB_TEST": {"info_key": "rgblight.animations.rgb_test", "value_type": "bool"},
- "RGBLIGHT_EFFECT_SNAKE": {"info_key": "rgblight.animations.snake", "value_type": "bool"},
- "RGBLIGHT_EFFECT_STATIC_GRADIENT": {"info_key": "rgblight.animations.static_gradient", "value_type": "bool"},
- "RGBLIGHT_EFFECT_TWINKLE": {"info_key": "rgblight.animations.twinkle"},
"RGBLIGHT_LAYER_BLINK": {"info_key": "rgblight.layers.blink", "value_type": "bool"},
"RGBLIGHT_LAYERS": {"info_key": "rgblight.layers.enabled", "value_type": "bool"},
"RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF": {"info_key": "rgblight.layers.override_rgb", "value_type": "bool"},
diff --git a/data/schemas/keyboard.jsonschema b/data/schemas/keyboard.jsonschema
index ff5163e737..1906ce5f75 100644
--- a/data/schemas/keyboard.jsonschema
+++ b/data/schemas/keyboard.jsonschema
@@ -264,6 +264,12 @@
"led_matrix": {
"type": "object",
"properties": {
+ "animations": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "boolean"
+ }
+ },
"driver": {"type": "string"},
"center_point": {
"type": "array",
@@ -308,6 +314,12 @@
"rgb_matrix": {
"type": "object",
"properties": {
+ "animations": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "boolean"
+ }
+ },
"driver": {"type": "string"},
"center_point": {
"type": "array",