]> git.ipfire.org Git - thirdparty/systemd.git/commit
hwdb: ASRock LED Controller classified incorrectly as joystick due to buttons and...
authorKayJay7 <31775749+KayJay7@users.noreply.github.com>
Mon, 13 May 2024 13:49:07 +0000 (15:49 +0200)
committerGitHub <noreply@github.com>
Mon, 13 May 2024 13:49:07 +0000 (22:49 +0900)
commit1642b7b3acd1fb233505066db31e26e6745149af
tree8794257681acb5333e8bf3728b25ddc025d5dcb6
parent034e85c5f3608b8ae48ab1ad76b8af0b2c2fd3e5
hwdb: ASRock LED Controller classified incorrectly as joystick due to buttons and axis (#32775)

The function `builtin-input_id` incorrectly identifies the ASRock LED Controller
as an input device due to the presence of buttons and axis. To fix this we add
a new rule in `hwdb.d/60-input-id.hwdb`.
The properties have been set to empty instead of `0` because some programs
might check if the value is set at all instead of checking its value, as discussed
in #32773.

The device has no real keys. The devices is controlled by i2c interface and some
settings in UEFI, and it provides an header to connect LED strips and similar devices.
I suppose it's possible that ASRock intended to connect devices with buttons for
controlling LEDs to it, but: (i) the controller itself does not have key, (ii) to my
knowledge no such device exists. So I think we can unset that property as well.
On a sidenote, unsetting those properties does not affect the i2c interface,
OpenRGB still interacts normally with the device.

Fixes #32773.
hwdb.d/60-input-id.hwdb