]> git.ipfire.org Git - thirdparty/systemd.git/commit - hwdb.d/60-keyboard.hwdb
hwdb: add XKB_FIXED_MODEL to the keyboard hwdb
authorSebastian Wick <sebastian@sebastianwick.net>
Thu, 31 Oct 2019 13:27:24 +0000 (14:27 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 5 Nov 2019 09:08:26 +0000 (10:08 +0100)
commitd7d31692bf7cde5dce7f4ed3cae429a5b302a9f0
tree969d3743e32212a9b678c2ce8fb97e14dca4588a
parentd36b573ef7a5a872cc5a4079cb1961e0d066a7b2
hwdb: add XKB_FIXED_MODEL to the keyboard hwdb

Chromebook keyboards have a top row which generates f1-f10 key codes but
the keys have media symbols printed on them. A simple scan code to key
code mapping to the correct media keys makes the f1-f10 inaccessible. To
properly use the keyboard a custom key code to symbol mapping in xbk is
required (a variant of the chromebook xkb model is already upstream).
Other devices have similar problems.
This commit makes it possible to specify which xkb model should be used
for a specific device by setting XKB_FIXED_MODEL.
hwdb.d/60-keyboard.hwdb
hwdb.d/parse_hwdb.py