Keysyms: improve generator (#364)
authorWismill <dev@wismill.eu>
Wed, 20 Sep 2023 05:45:15 +0000 (07:45 +0200)
committerGitHub <noreply@github.com>
Wed, 20 Sep 2023 05:45:15 +0000 (07:45 +0200)
commitb900faf77b5d07805f10a1160cd1c6842cc46b11
treeb2e044a82d5e058720615208527f94fea345103b
parenteafd3aceca97d4984070115ec67f639b045b0d65
Keysyms: improve generator (#364)

Motivation: normalization of keysyms header files in `xorgproto`. See:
https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/80

Improve `scripts/makeheader`:
- Simplify `evdev` and `XK_` substitution and improve alignment. Also, perform
  some additional `XK_` substitutions in comments.
- Format with `black`.
scripts/makeheader