summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorTomasz Pakuła <tomasz.pakula.oficjalny@gmail.com>2025-11-29 19:46:14 +0100
committerJiri Kosina <jkosina@suse.com>2026-01-10 10:06:48 +0100
commite01a029654f7fb67d7151365410aa22be4e63dbe (patch)
treee31dcd1ab27982d00f5aa141bed00fd4d66a2d2d /include/linux/platform_data
parent79b95d74470dd97d7d0908d5a3c0734a23e51aa4 (diff)
HID: pidff: Do not set out of range trigger button
Some games (mainly observed with Kylotonn's WRC Serises) set trigger button to a random value, or always the same one, out of range. I observed 307 and other values but, for example, my Moza R9 only exposes 128 buttons AND it's trigger button field is 8-bit. This causes errors to appear in dmesg. Only set the trigger button and trigger interval in the trigger button is in range of the field. Signed-off-by: Tomasz Pakuła <tomasz.pakula.oficjalny@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions