aboutsummaryrefslogtreecommitdiff
path: root/drivers/hid/bpf/progs/README
diff options
context:
space:
mode:
authorGravatar Benjamin Tissoires <bentiss@kernel.org> 2024-04-10 19:19:21 +0200
committerGravatar Benjamin Tissoires <bentiss@kernel.org> 2024-05-07 15:38:36 +0200
commit65ad580a14e875c2d8c027cf1a2ca03b849ff843 (patch)
tree426b9017f1eec4f1b019e521777a08b93393e622 /drivers/hid/bpf/progs/README
parentHID: bpf: fix hid_bpf_input_report() when hid-core is not ready (diff)
downloadlinux-65ad580a14e875c2d8c027cf1a2ca03b849ff843.tar.gz
linux-65ad580a14e875c2d8c027cf1a2ca03b849ff843.tar.bz2
linux-65ad580a14e875c2d8c027cf1a2ca03b849ff843.zip
HID: do not assume HAT Switch logical max < 8
Turns out that the code can handle a greater range, but the data stored can not. This is problematic on the Raptor Mach 2 joystick which logical max is 239. The kernel interprets it as `-15` and thus ignores the Hat Switch handling. Link: https://gitlab.freedesktop.org/libevdev/udev-hid-bpf/-/issues/17 Link: https://lore.kernel.org/r/20240410-bpf_sources-v1-1-a8bf16033ef8@kernel.org Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'drivers/hid/bpf/progs/README')
0 files changed, 0 insertions, 0 deletions