]> err.no Git - linux-2.6/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)
commitc9d8c2b324d24ffb4fdcd93b3f752530a5a0a591
tree2f18bdb4952866fe5e7475e0cafdd774a1c9db69
parent365bbe0d0caaf2ba74d56556827babf0bc66965d
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