linux/drivers/input
Mike Auty d9f66c1a46 Input: wacom - fix mousewheel handling for old wacom tablets
This fixes a regression introduced in
3b57ca0f80.

The data[6] byte contains either 1 or -1 depending on the whether the
mouse wheel on older wacom tablets is moved down (1) or up (-1).  The
patch introduced in the above commit changed the cast from (signed char)
to (signed).  When cast as a signed integer and negated, the value of -1
(stored in the byte as 0xff) became -255 rather than 1.  This patch
reverts the cast to a (signed char) and also removes an unnecessary
(signed) cast, as all the values operated on are bitmasked.

Signed-off-by: Mike Auty <ikelos@gentoo.org>
Reviewed-by: Ping Cheng <pingc@wacom.com>
Cc; stable@kernel.org
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2010-08-28 21:39:04 -07:00
..
gameport Merge commit 'v2.6.34-rc6' into core/locking 2010-05-03 09:17:01 +02:00
joystick Input: fix faulty XXinput_* calls 2010-08-13 12:03:24 -07:00
keyboard Input: pxa27x_keypad - remove input_free_device() in pxa27x_keypad_remove() 2010-08-25 07:51:40 -07:00
misc Input: uinput - add devname alias to allow module on-demand load 2010-08-21 00:37:40 -07:00
mouse param: use ops in struct kernel_param, rather than get and set fns directly 2010-08-11 23:04:13 +09:30
serio Merge branch 'next-devicetree' of git://git.secretlab.ca/git/linux-2.6 2010-08-12 09:11:31 -07:00
tablet Input: wacom - fix mousewheel handling for old wacom tablets 2010-08-28 21:39:04 -07:00
touchscreen touchscreen: Fix sign bug 2010-08-12 11:27:59 +02:00
apm-power.c
evbug.c
evdev.c Input: evdev - rearrange ioctl handling 2010-08-02 20:30:44 -07:00
ff-core.c
ff-memless.c
fixp-arith.h
input-compat.c
input-compat.h
input-polldev.c
input.c Input: dynamically allocate ABS information 2010-08-02 20:30:04 -07:00
joydev.c Input: switch to input_abs_*() access functions 2010-08-02 20:29:56 -07:00
Kconfig
Makefile
mousedev.c Input: mousedev - fix regression of inverting axes 2010-08-25 07:50:44 -07:00
sparse-keymap.c
xen-kbdfront.c x86: early PV on HVM features initialization. 2010-07-22 16:45:35 -07:00