android_kernel_sony_sdm845/drivers/input
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Leo L. Schwab f3ede00ba9 Input: spaceball - fix parsing of movement data packets
commit bc7ec91718c49d938849697cfad98fcd9877cc26 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:31:25 +01:00
..
gameport
joystick Input: spaceball - fix parsing of movement data packets 2022-01-05 12:31:25 +01:00
keyboard Input: hil_kbd - fix error return code in hil_dev_connect() 2021-07-20 16:21:04 +02:00
misc Input: uinput - avoid FF flush when destroying device 2021-01-23 15:38:17 +01:00
mouse Input: appletouch - initialize work before device registration 2022-01-05 12:31:25 +01:00
rmi4 Input: synaptics-rmi4 - fix error return code in rmi_driver_probe() 2020-06-03 08:16:39 +02:00
serio Input: i8042 - Add quirk for Fujitsu Lifebook T725 2021-11-26 11:48:17 +01:00
tablet Input: pegasus_notetaker - fix endpoint sanity check 2020-01-29 10:24:39 +01:00
touchscreen Input: touchscreen - avoid bitwise vs logical OR warning 2021-12-22 09:05:15 +01:00
apm-power.c
evbug.c
evdev.c Input: evdev - call input_flush_device() on release(), not flush() 2020-06-03 08:16:38 +02:00
ff-core.c Input: uinput - avoid FF flush when destroying device 2021-01-23 15:38:17 +01:00
ff-memless.c Input: ff-memless - kill timer in destroy() 2019-11-25 09:51:55 +01:00
input-compat.c
input-compat.h
input-leds.c Input: leds - fix out of bound access 2018-05-09 09:50:20 +02:00
input-mt.c Input: update input_mt_report_pointer_emulation to support hovering 2016-06-01 14:21:10 -07:00
input-polldev.c
input.c Input: add safety guards to input_set_keycode() 2020-01-14 20:04:27 +01:00
joydev.c Input: joydev - prevent use of not validated data in JSIOCSBTNMAP ioctl 2021-07-20 16:20:56 +02:00
Kconfig
Makefile
matrix-keymap.c
mousedev.c Input: mousedev - fix implicit conversion warning 2018-04-08 12:12:43 +02:00
sparse-keymap.c