android_kernel_xiaomi_sm8350/drivers/input/mouse
Vadim Zaliva 04b4b88cca Input: appletouch - fix integer overflow issue
When reading data from Geyser 2 touchpads used on post Oct 2005 Apple
PowerBooks the driver was casting X and Y coordinates values to
'signed char'. Testing on one of such PowerBooks I have noticed that
touchpad always generates positive values, but some of them are greater
that 127, and thus, when cast to 'signed char' being interpreted as
a negative.

Such bigger values have been observed infrequently, closer to the
edges of a touchpad, so the problem was not very visible.
Nevertheless, the patch would potentially improve touchpad
driver accuracy.

Signed-off-by: Vadim Zaliva <lord@crocodile.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2010-03-11 00:00:56 -08:00
..
alps.c Input: alps - add support for the touchpad on Toshiba Tecra A11-11L 2010-03-09 22:06:07 -08:00
alps.h Input: ALPS - add interleaved protocol support (Dell E6x00 series) 2009-12-15 22:15:25 -08:00
amimouse.c
appletouch.c Input: appletouch - fix integer overflow issue 2010-03-11 00:00:56 -08:00
atarimouse.c
bcm5974.c Input: bcm5974 - report ABS_MT events 2010-01-06 00:33:46 -08:00
elantech.c Input: elantech - do not advertise relative events 2009-11-20 00:52:11 -08:00
elantech.h Input: psmouse - use boolean type 2009-09-10 22:11:38 -07:00
gpio_mouse.c Input: gpio_mouse - use standard driver registration method 2009-07-07 22:47:14 -07:00
hgpk.c Merge commit 'v2.6.33-rc5' into next 2010-01-21 23:55:25 -08:00
hgpk.h Input: psmouse - use boolean type 2009-09-10 22:11:38 -07:00
inport.c
Kconfig Input: lifebook - add CONFIG_DMI dependency 2009-12-29 23:20:22 -08:00
lifebook.c Input: lifebook - add another Lifebook DMI signature 2010-01-28 00:29:03 -08:00
lifebook.h Input: psmouse - do not carry DMI data around 2009-12-03 23:25:36 -08:00
logibm.c
logips2pp.c Input: psmouse - rework setting of BTN_MIDDLE capability 2009-11-20 00:52:12 -08:00
logips2pp.h Input: psmouse - use boolean type 2009-09-10 22:11:38 -07:00
Makefile Input: add new driver for Sentelic Finger Sensing Pad 2009-08-19 21:46:09 -07:00
maplemouse.c maple: input: fix up maple mouse driver 2009-04-27 09:22:31 +09:00
pc110pad.c Input: pc110pad - remove unused variable dev 2009-04-15 09:04:03 -07:00
psmouse-base.c Input: psmouse - make sure we don't schedule reconnects after cleanup 2010-02-07 23:53:41 -08:00
psmouse.h Input: psmouse - use boolean type 2009-09-10 22:11:38 -07:00
pxa930_trkball.c
rpcmouse.c [ARM] acorn,ebsa110,footbridge,integrator,sa1100: Convert asm/io.h to linux/io.h 2009-03-25 10:21:35 +00:00
sentelic.c Input: sentelic - fix left/right horizontal scroll mapping 2010-01-13 00:28:18 -08:00
sentelic.h Input: psmouse - use boolean type 2009-09-10 22:11:38 -07:00
sermouse.c
synaptics_i2c.c Input: synaptic_i2c - make unnecessarily global functions static 2009-11-02 22:26:18 -08:00
synaptics.c Input: psmouse - fix Synaptics detection when protocol is disabled 2010-01-07 01:53:30 -08:00
synaptics.h Input: psmouse - fix Synaptics detection when protocol is disabled 2010-01-07 01:53:30 -08:00
touchkit_ps2.c Input: touchkit_ps2 - do not advertise unsupported buttons 2009-11-20 00:52:10 -08:00
touchkit_ps2.h Input: psmouse - use boolean type 2009-09-10 22:11:38 -07:00
trackpoint.c Input: psmouse - rework setting of BTN_MIDDLE capability 2009-11-20 00:52:12 -08:00
trackpoint.h Input: psmouse - use boolean type 2009-09-10 22:11:38 -07:00
vsxxxaa.c Input: vsxxxaa - change formatting style to match the rest of the kernel 2009-10-13 23:58:27 -07:00