1
0
Fork 0

Allow codegen of keymap.json => keymap.c without requiring layers/layout etc. (#23451)

This commit is contained in:
Nick Brassel 2024-11-24 20:32:30 +11:00 committed by GitHub
parent 859dab864a
commit 7d8f193988
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 105 additions and 120 deletions

View file

@ -55,7 +55,7 @@ def parse_configurator_json(configurator_file):
cli.log.error(f'Invalid JSON keymap: {configurator_file} : {e.message}')
maybe_exit(1)
keyboard = user_keymap['keyboard']
keyboard = user_keymap.get('keyboard', None)
aliases = keyboard_alias_definitions()
while keyboard in aliases: