Skip to content
Snippets Groups Projects
Commit 705460ce authored by Curran Muhlberger's avatar Curran Muhlberger Committed by Marge Bot
Browse files

bpf: Add fixup for Logitech SpaceNavigator variants


The 3Dconnexion SpaceNavigator HID report descriptor declares its axis
data to be "relative" when it is actually "absolute".  This quirk was
addressed in the kernel in 2.6.33, but some SpaceNavigator variants have
a slightly different report descriptor whose axis input items are at
different offsets than those assumed by the kernel fixup.

Add a BPF fixup to handle both sets of offsets for known SpaceNavigator
variants if the descriptor has not already been fixed by the kernel.

Signed-off-by: default avatarCurran Muhlberger <curran@cs.cornell.edu>
Part-of: <!181>
parent 92f54ab5
1 merge request!181bpf: Add fixup for Logitech SpaceNavigator
Pipeline #1365976 passed