1
0
mirror of https://github.com/systemd/systemd.git synced 2025-08-27 21:49:55 +03:00
Files
systemd/hwdb.d
Derek J. Clark 25dcd9a348 hwdb: add scancodes for AYANEO devices (#33378)
AYANEO has multiple models that all use the same AT Translated Set
2 Keyboard device with 3-4 buttons available. Starting with the
AYANEO 2 there was a change to the IMU programming they were using
that caused the scancodes to no longer present the correct values
in Linux. This change adds a blanket scancode mapping to present
the correct keycodes as designed by the OEM.

In some cases a kernel bug will cause the AT Translated Set 2
Keyboard to present as an AT Raw Set 2 keyboard. I have also
adjusted the scancodes for this scenario as well so they are
in line with expected behavior. Currently only the Kun is still
experiencing this bug.

Example userspace tool refs:
https://github.com/ShadowBlip/InputPlumber/blob/main/rootfs/usr/lib/udev/hwdb.d/59-inputplumber.hwdb
https://github.com/ShadowBlip/HandyGCCS/blob/main/usr/lib/udev/hwdb.d/59-handygccs-ayaneo.hwdb
https://github.com/hhd-dev/hhd/tree/master/usr/lib/udev/hwdb.d
2024-06-18 09:19:30 +09:00
..
2019-10-10 00:53:09 +01:00
2019-10-10 00:53:09 +01:00
2024-06-06 17:54:03 +01:00
2024-06-11 22:40:37 +01:00
2024-06-11 22:40:37 +01:00
2023-07-05 22:00:38 +02:00
2024-06-06 17:54:03 +01:00
2023-11-14 21:20:45 +00:00
2021-10-27 00:14:41 +02:00
2022-02-04 11:01:20 +09:00
2023-03-26 19:01:49 +08:00
2024-04-17 16:23:51 +02:00
2024-06-11 22:40:37 +01:00
2024-06-11 22:40:37 +01:00
2024-06-11 22:40:37 +01:00
2024-06-06 17:54:03 +01:00
2024-06-06 17:54:03 +01:00
2021-03-26 09:35:07 +01:00
2019-10-10 00:53:09 +01:00
2024-03-21 15:29:48 +09:00

Files in this directory specify a description of hardware devices, in the form
of mappings from modalias-like keys (which identify specific hardware devices)
to udev properties.

Files in this directory are not read by udev directly. Instead,
man:systemd-hwdb(8) compiles them into a binary database.

See man:hwdb(7) for an overview of the configuration file format, and
man:systemd-udevd.service(8) for a description of the udev daemon.

Use 'systemd-analyze cat-config udev/hwdb.d' to display the effective config.