]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
HID: pidff: Add MISSING_NEG_COEFFICIENT quirk
authorTomasz Pakuła <tomasz.pakula.oficjalny@gmail.com>
Tue, 3 Feb 2026 17:45:28 +0000 (18:45 +0100)
committerJiri Kosina <jkosina@suse.com>
Thu, 26 Feb 2026 14:46:00 +0000 (15:46 +0100)
commitcf3bf7ad4e7722735d085b5fd5ab90a01be831d4
treeb3dc9bab63094f072fe2a52fa20976332cc4cfa4
parent446e303982a616f5cd48beabd236f0e6a17ec0ab
HID: pidff: Add MISSING_NEG_COEFFICIENT quirk

Windows/Directinput allows devices with missing negative coefficient for
conditional effects. Negative coefficient is ignored in such cases.

Donot fail set_condition usage search if negative coefficient is missing.
Fixes conditional effect playback on Asetek wheelbases.

https://learn.microsoft.com/en-us/previous-versions/windows/desktop/ee416601(v=vs.85)

Co-developed-by: Oleg Makarenko <oleg@makarenk.ooo>
Signed-off-by: Oleg Makarenko <oleg@makarenk.ooo>
Signed-off-by: Tomasz Pakuła <tomasz.pakula.oficjalny@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/usbhid/hid-pidff.c
drivers/hid/usbhid/hid-pidff.h