Support of scan code to key code mappings in console mode
Summary
According to the documentation, libinput is a low-level library to simplify handling input devices and their events. But it seems that scan code to key code mappings can only be configured at the Wayland compositor level and therefore won't have any effect on the console.
Feature details
E.g. in the case of Sway, bindsym
mappings defined in ~/.config/sway/config
should rather be possible at a lower level so that the configuration affects not only the Wayland compositor but the overall system.
Affected Hardware
All.
Implementation in Other Systems
In the case of udev
the hrdware specific mappings can be defined in /lib/udev/hwdb.d/60-keyboard.hwdb
and then overwritten by the means of /etc/udev/hwdb.d/70-keyboard.hwdb
.
My findings from #835 (closed) seem to indicate that libinput
ignores those mappings and at the same time does not allow a similar low-level mapping approach.