Fix xap_client gen after render_xap_output changes

This commit is contained in:
zvecr
2023-03-06 19:56:18 +00:00
parent dc591c751d
commit 751e72c1f9
6 changed files with 41 additions and 28 deletions
@@ -5,13 +5,15 @@ from enum import IntEnum
# version: 0.0.1
class RgblightModes(IntEnum):
{%- for id, effect in specs.rgblight.effects | dictsort %}
{% for id, effect in specs.rgblight.effects | dictsort %}
{{ effect.key }} = {{ id }}
{%- endfor %}
{% endfor %}
# version: 0.0.1
class RgbMatrixModes(IntEnum):
{%- for id, effect in specs.rgb_matrix.effects | dictsort %}
{% for id, effect in specs.rgb_matrix.effects | dictsort %}
{{ effect.key }} = {{ id }}
{%- endfor %}
{% endfor %}
# noqa: W391