diff options
| author | 2025-11-29 19:46:14 +0100 | |
|---|---|---|
| committer | 2026-01-10 10:06:48 +0100 | |
| commit | e01a029654f7fb67d7151365410aa22be4e63dbe (patch) | |
| tree | e31dcd1ab27982d00f5aa141bed00fd4d66a2d2d /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | Merge tag 'hid-for-linus-2026010801' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid (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 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
