Generate python effect constants

This commit is contained in:
zvecr
2022-10-13 01:42:27 +01:00
parent 9e93a37c5c
commit d1e3036ce2
7 changed files with 151 additions and 6 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ def xap_generate_python(cli):
defs = latest_xap_defs()
parent = QMK_FIRMWARE / 'lib' / 'python' / 'xap_client'
for name in ['types.py', 'routes.py']:
for name in ['types.py', 'routes.py', 'constants.py']:
lines = [GPL2_HEADER_SH_LIKE, GENERATED_HEADER_SH_LIKE]
output = render_xap_output('client/python', f'{name}.j2', defs)