aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-06-22 04:27:57 +0100
committerGitHub <[email protected]>2024-06-22 04:27:57 +0100
commit6f03d20a92b01d656fe911aa025186056aefb9e9 (patch)
tree75c41fdc33e30fae14c1629e5db90583a098e3ae /lib
parente5c80fc6b3a812faae3f5fe676e572d5c505b4f7 (diff)
downloadqmk_firmware-6f03d20a92b01d656fe911aa025186056aefb9e9.tar.gz
qmk_firmware-6f03d20a92b01d656fe911aa025186056aefb9e9.zip
Fix 'qmk import-kbfirmware' WS2812 config (#23976)
Diffstat (limited to 'lib')
-rw-r--r--lib/python/qmk/importers.py12
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/python/qmk/importers.py b/lib/python/qmk/importers.py
index 35a38e8572..3e7f305a43 100644
--- a/lib/python/qmk/importers.py
+++ b/lib/python/qmk/importers.py
@@ -181,9 +181,17 @@ def import_kbfirmware(kbfirmware_data):
info_data['indicators.scroll_lock'] = kbf_data['keyboard.pins.scroll']
if kbf_data['keyboard.pins.rgb']:
- info_data['rgblight.animations.all'] = True
+ info_data['rgblight.animations'] = { # Comment here is to force multiline formatting
+ "breathing": True,
+ "rainbow_mood": True,
+ "rainbow_swirl": True,
+ "snake": True,
+ "knight": True,
+ "static_gradient": True,
+ "twinkle": True
+ }
info_data['rgblight.led_count'] = kbf_data['keyboard.settings.rgbNum']
- info_data['rgblight.pin'] = kbf_data['keyboard.pins.rgb']
+ info_data['ws2812.pin'] = kbf_data['keyboard.pins.rgb']
if kbf_data['keyboard.pins.led']:
info_data['backlight.levels'] = kbf_data['keyboard.settings.backlightLevels']