]> git.baikalelectronics.ru Git - kernel.git/commit
usbtouchscreen: make ITM screens report BTN_TOUCH as zero when not touched
authorDaniel Ritz <daniel.ritz-ml@swissonline.ch>
Mon, 11 Dec 2006 17:17:45 +0000 (18:17 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 22 Jan 2007 19:46:55 +0000 (11:46 -0800)
commit24ce4cca9d122a398d8bff375839078c6a012eef
tree2f18bdb4952866fe5e7475e0cafdd774a1c9db69
parent2ee6ece019cd87c5410a41a78d4ef72891ed88ec
usbtouchscreen: make ITM screens report BTN_TOUCH as zero when not touched

ITM screens send invalid x/y data when not touched. this was fixes a while ago
but the problem is if the screen is not touched anymore the driver never does
not report BTN_TOUCH as zero. fix it by sending the report with the last valid
coordinates when pressure is released.

Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch>
Cc: J.P. Delport <jpdelport@csir.co.za>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/input/usbtouchscreen.c