Keycode alias support.
This commit is contained in:
parent
4758f6c695
commit
519bd5ac45
4 changed files with 12 additions and 2 deletions
|
|
@ -47,6 +47,8 @@ def _render_keycodes(module_jsons):
|
|||
first = False
|
||||
else:
|
||||
lines.append(f' {key},')
|
||||
for alias in keycode.get('aliases', []):
|
||||
lines.append(f' {alias} = {key},')
|
||||
lines.append('')
|
||||
lines.append(' LAST_COMMUNITY_MODULE_KEY')
|
||||
lines.append('};')
|
||||
|
|
|
|||
Loading…
Reference in a new issue