linux/drivers/input
Dmitry Torokhov 1b11c88d3e Input: ff-memless - another fix for signed to unsigned overflow
The commit 9e68177ef9 changed 'gain' from
signed to unsigned to fix an issue with rumble effect calculation, however
it introduced problems when calculating constant effects. Having 'gain'
being unsigned int was an unfortunate choice since it dominates all
implicit type conversions causing everything to be treated as unsigned
int.

Let's change it back to signed int and simply add proper casts to rumble
effect calculations.

Reported-by: Gary Stein <lordcnidarian@gmail.com>
Acked-by: Anssi Hannula <anssi.hannula@iki.fi>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2009-12-24 21:54:09 -08:00
..
gameport
joystick Input: xpad - add two new Xbox 360 devices 2009-11-29 23:35:05 -08:00
keyboard Input: speed up suspend/shutdown for PS/2 mice and keyboards 2009-12-24 21:42:57 -08:00
misc mfd: Rename all twl4030_i2c* 2009-12-13 21:23:33 +01:00
mouse Input: speed up suspend/shutdown for PS/2 mice and keyboards 2009-12-24 21:42:57 -08:00
serio Input: serio - do not mark kseriod freezable anymore 2009-12-24 21:43:06 -08:00
tablet Input: wacom - separate pen from express keys on Graphire 2009-12-15 00:36:20 -08:00
touchscreen Input: add mc13783 touchscreen driver 2009-12-15 08:54:51 -08:00
Kconfig Merge branch 'xen/fbdev' of git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen 2009-12-10 09:34:40 -08:00
Makefile Input: add generic support for sparse keymaps 2009-12-07 09:26:35 -08:00
apm-power.c
evbug.c
evdev.c headers: remove sched.h from poll.h 2009-10-04 15:05:10 -07:00
ff-core.c Input: fix memory leak in force feedback core 2009-12-04 22:16:38 -08:00
ff-memless.c Input: ff-memless - another fix for signed to unsigned overflow 2009-12-24 21:54:09 -08:00
fixp-arith.h
input-compat.c
input-compat.h
input-polldev.c Input: add generic support for sparse keymaps 2009-12-07 09:26:35 -08:00
input.c Input: document use of input_event() function 2009-12-11 23:48:49 -08:00
joydev.c headers: remove sched.h from poll.h 2009-10-04 15:05:10 -07:00
mousedev.c headers: remove sched.h from poll.h 2009-10-04 15:05:10 -07:00
sparse-keymap.c Input: add generic support for sparse keymaps 2009-12-07 09:26:35 -08:00
xen-kbdfront.c xen: move Xen-testing predicates to common header 2009-11-04 08:47:24 -08:00