selftests/hid: add tests for the Raptor Mach 2 joystick
authorBenjamin Tissoires <bentiss@kernel.org>
Wed, 10 Apr 2024 17:19:38 +0000 (19:19 +0200)
committerBenjamin Tissoires <bentiss@kernel.org>
Tue, 7 May 2024 13:39:55 +0000 (15:39 +0200)
commitb22cbfb42c19a378cca5fae3a98395225af05384
tree71d8ff440783b6ff25e0afb893f9058af55fb9e9
parentaa7e560454a90d4fe9924500f1ae2a3779806b85
selftests/hid: add tests for the Raptor Mach 2 joystick

The only interesting bit is the HAT switch, and we use a BPF program
to fix it. So ensure this works correctly.

Link: https://lore.kernel.org/r/20240410-bpf_sources-v1-18-a8bf16033ef8@kernel.org
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
tools/testing/selftests/hid/tests/test_gamepad.py