WSL2-Linux-Kernel/drivers/input/joystick
Leo L. Schwab 466267ced8 Input: spaceball - fix parsing of movement data packets
commit bc7ec91718 upstream.

The spaceball.c module was not properly parsing the movement reports
coming from the device.  The code read axis data as signed 16-bit
little-endian values starting at offset 2.

In fact, axis data in Spaceball movement reports are signed 16-bit
big-endian values starting at offset 3.  This was determined first by
visually inspecting the data packets, and later verified by consulting:
http://spacemice.org/pdf/SpaceBall_2003-3003_Protocol.pdf

If this ever worked properly, it was in the time before Git...

Signed-off-by: Leo L. Schwab <ewhac@ewhac.org>
Link: https://lore.kernel.org/r/20211221101630.1146385-1-ewhac@ewhac.org
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-01-05 12:42:39 +01:00
..
iforce Input: iforce - fix control-message timeout 2021-11-18 19:15:51 +01:00
Kconfig
Makefile
a3d.c
adc-joystick.c
adi.c
amijoy.c
analog.c
as5011.c
cobra.c
db9.c
fsia6b.c
gamecon.c
gf2k.c
grip.c
grip_mp.c
guillemot.c
interact.c
joydump.c
magellan.c
maplecontrol.c
n64joy.c
psxpad-spi.c
pxrc.c
qwiic-joystick.c
sidewinder.c
spaceball.c Input: spaceball - fix parsing of movement data packets 2022-01-05 12:42:39 +01:00
spaceorb.c
stinger.c
tmdc.c
turbografx.c
twidjoy.c
walkera0701.c
warrior.c
xpad.c
zhenhua.c