diff options
author | Ryan <fauxpark@gmail.com> | 2022-09-20 04:36:48 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-19 19:36:48 +0100 |
commit | 8d0fb4ca9e7f791f164fedbd270b2da44f971155 (patch) | |
tree | 70cac5275b1c041e18a7a79238d0d0664934bda6 /data | |
parent | 731000533f7f88b2ca4ff7e25ce52d88a5531e46 (diff) |
Add DD mapping for LED/RGB Matrix HSVS steps (#18414)
Diffstat (limited to 'data')
-rw-r--r-- | data/mappings/info_config.json | 8 | ||||
-rw-r--r-- | data/schemas/keyboard.jsonschema | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/data/mappings/info_config.json b/data/mappings/info_config.json index 34c46d6d89..e1dbb27a6c 100644 --- a/data/mappings/info_config.json +++ b/data/mappings/info_config.json @@ -40,6 +40,10 @@ "LED_PIN_ON_STATE": {"info_key": "indicators.on_state", "value_type": "int"}, "LED_MATRIX_MAXIMUM_BRIGHTNESS": {"info_key": "led_matrix.max_brightness", "value_type": "int"}, "LED_MATRIX_SPLIT": {"info_key": "led_matrix.split_count", "value_type": "array.int"}, + "LED_MATRIX_HUE_STEP": {"info_key": "led_matrix.hue_steps", "value_type": "int"}, + "LED_MATRIX_SAT_STEP": {"info_key": "led_matrix.sat_steps", "value_type": "int"}, + "LED_MATRIX_VAL_STEP": {"info_key": "led_matrix.val_steps", "value_type": "int"}, + "LED_MATRIX_SPD_STEP": {"info_key": "led_matrix.speed_steps", "value_type": "int"}, "MANUFACTURER": {"info_key": "manufacturer", "value_type": "str"}, "MATRIX_HAS_GHOST": {"info_key": "matrix_pins.ghost", "value_type": "bool"}, "MATRIX_IO_DELAY": {"info_key": "matrix_pins.io_delay", "value_type": "int"}, @@ -81,6 +85,10 @@ "RGBLIGHT_SPLIT": {"info_key": "rgblight.split", "value_type": "bool"}, "RGB_MATRIX_MAXIMUM_BRIGHTNESS": {"info_key": "rgb_matrix.max_brightness", "value_type": "int"}, "RGB_MATRIX_SPLIT": {"info_key": "rgb_matrix.split_count", "value_type": "array.int"}, + "RGB_MATRIX_HUE_STEP": {"info_key": "rgb_matrix.hue_steps", "value_type": "int"}, + "RGB_MATRIX_SAT_STEP": {"info_key": "rgb_matrix.sat_steps", "value_type": "int"}, + "RGB_MATRIX_VAL_STEP": {"info_key": "rgb_matrix.val_steps", "value_type": "int"}, + "RGB_MATRIX_SPD_STEP": {"info_key": "rgb_matrix.speed_steps", "value_type": "int"}, "RGBW": {"info_key": "rgblight.rgbw", "value_type": "bool"}, "PRODUCT": {"info_key": "keyboard_name", "warn_duplicate": false, "value_type": "str"}, "PRODUCT_ID": {"info_key": "usb.pid", "value_type": "hex"}, diff --git a/data/schemas/keyboard.jsonschema b/data/schemas/keyboard.jsonschema index e82dacaac4..60381a21a0 100644 --- a/data/schemas/keyboard.jsonschema +++ b/data/schemas/keyboard.jsonschema @@ -266,6 +266,10 @@ "properties": { "driver": {"type": "string"}, "max_brightness": {"$ref": "qmk.definitions.v1#/unsigned_int_8"}, + "hue_steps": {"$ref": "qmk.definitions.v1#/unsigned_int"}, + "sat_steps": {"$ref": "qmk.definitions.v1#/unsigned_int"}, + "val_steps": {"$ref": "qmk.definitions.v1#/unsigned_int"}, + "speed_steps": {"$ref": "qmk.definitions.v1#/unsigned_int"}, "split_count": { "type": "array", "minItems": 2, @@ -300,6 +304,10 @@ "properties": { "driver": {"type": "string"}, "max_brightness": {"$ref": "qmk.definitions.v1#/unsigned_int_8"}, + "hue_steps": {"$ref": "qmk.definitions.v1#/unsigned_int"}, + "sat_steps": {"$ref": "qmk.definitions.v1#/unsigned_int"}, + "val_steps": {"$ref": "qmk.definitions.v1#/unsigned_int"}, + "speed_steps": {"$ref": "qmk.definitions.v1#/unsigned_int"}, "split_count": { "type": "array", "minItems": 2, |