Generate versions to keycode headers (#25219)

This commit is contained in:
Joel Challis 2025-05-05 01:44:08 +01:00 committed by GitHub
parent a992e32bd5
commit dbe30a1b6f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
75 changed files with 455 additions and 0 deletions

View file

@ -89,6 +89,7 @@ def load_spec(version, lang=None):
spec = _process_files(_locate_files(path, prefix, versions))
# Sort?
spec['version'] = version
spec['keycodes'] = dict(sorted(spec.get('keycodes', {}).items()))
spec['ranges'] = dict(sorted(spec.get('ranges', {}).items()))