2022-10-16 19:24:37 +00:00
|
|
|
{{ constants.GPL2_HEADER_SH_LIKE }}
|
|
|
|
{{ constants.GENERATED_HEADER_SH_LIKE }}
|
2022-10-13 00:42:27 +00:00
|
|
|
from enum import IntEnum
|
|
|
|
|
|
|
|
|
|
|
|
# version: 0.0.1
|
|
|
|
class RgblightModes(IntEnum):
|
2023-03-06 19:56:18 +00:00
|
|
|
{% for id, effect in specs.rgblight.effects | dictsort %}
|
2022-10-13 00:42:27 +00:00
|
|
|
{{ effect.key }} = {{ id }}
|
2023-03-06 19:56:18 +00:00
|
|
|
{% endfor %}
|
2022-10-13 00:42:27 +00:00
|
|
|
|
|
|
|
|
2022-10-16 19:24:37 +00:00
|
|
|
# version: 0.0.1
|
2022-10-13 00:42:27 +00:00
|
|
|
class RgbMatrixModes(IntEnum):
|
2023-03-06 19:56:18 +00:00
|
|
|
{% for id, effect in specs.rgb_matrix.effects | dictsort %}
|
2022-10-13 00:42:27 +00:00
|
|
|
{{ effect.key }} = {{ id }}
|
2023-03-06 19:56:18 +00:00
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
# noqa: W391
|