linux/drivers/usb/input
Mark Assad 77dc2db6d1 [PATCH] itmtouch: fix inverted flag to indicate touch location correctly, correct white space
There is a bug in the current version of the itmtouch USB touchscreen
driver.  The if statment that checks if pressure is being applied to the
touch screen is now missing a ! (not), so events are no longer being
reported correctly.

The original source code for this line was as follows:

	#define UCP(x) ((unsigned char*)(x))
	#define UCOM(x,y,z) ((UCP((x)->transfer_buffer)[y]) & (z))

	...
	if (!UCOM(urb, 7, 0x20)) {

And was cleaned to:

	unsigned char *data = urb->transfer_buffer;
	....
	 if (data[7] & 0x20) {

(note the lack of '!')

This has been tested on an LG L1510BF and an LG1510SF touch screen.

Signed-off-by: Mark Assad <massad@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-04 19:44:36 -07:00
..
acecad.c USB: acecad: Use usb_endpoint_* functions. 2006-09-27 11:58:53 -07:00
aiptek.c [PATCH] USB: move <linux/usb_input.h> to <linux/usb/input.h> 2006-06-21 15:04:18 -07:00
appletouch.c USB: appletouch: Use usb_endpoint_* functions. 2006-09-27 11:58:53 -07:00
ati_remote2.c [PATCH] USB: move <linux/usb_input.h> to <linux/usb/input.h> 2006-06-21 15:04:18 -07:00
ati_remote.c USB: ati_remote: Use usb_endpoint_* functions. 2006-09-27 11:58:53 -07:00
hid-core.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2006-10-02 08:20:33 -07:00
hid-debug.h Input: fix misspelling of Hangeul key 2006-06-26 01:51:23 -04:00
hid-ff.c Input: add force feedback driver for PSX-style Zeroplus devices 2006-07-19 01:44:17 -04:00
hid-input.c Input: use new FF interface in the HID force feedback drivers 2006-07-19 01:40:55 -04:00
hid-lgff.c Input: use new FF interface in the HID force feedback drivers 2006-07-19 01:40:55 -04:00
hid-pidff.c Input: add force feedback driver for PID devices 2006-07-19 01:40:47 -04:00
hid-tmff.c Input: use new FF interface in the HID force feedback drivers 2006-07-19 01:40:55 -04:00
hid-zpff.c Input: add force feedback driver for PSX-style Zeroplus devices 2006-07-19 01:44:17 -04:00
hid.h Input: hid - #if 0 the no longer used hid_find_field_by_usage() 2006-08-04 23:00:02 -04:00
hiddev.c USB: Make file operations structs in drivers/usb const. 2006-09-27 11:58:52 -07:00
itmtouch.c [PATCH] itmtouch: fix inverted flag to indicate touch location correctly, correct white space 2006-10-04 19:44:36 -07:00
kbtab.c [PATCH] USB: move <linux/usb_input.h> to <linux/usb/input.h> 2006-06-21 15:04:18 -07:00
Kconfig Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2006-10-02 08:20:33 -07:00
keyspan_remote.c USB: keyspan_remote: Use usb_endpoint_* functions. 2006-09-27 11:58:53 -07:00
Makefile Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2006-10-02 08:20:33 -07:00
map_to_7segment.h [PATCH] USB: Buffer overflow patch for Yealink driver 2005-10-28 16:47:44 -07:00
mtouchusb.c USB: Dealias -110 code (more complete) 2006-09-27 11:59:00 -07:00
powermate.c USB: powermate: Use usb_endpoint_* functions. 2006-09-27 11:58:53 -07:00
touchkitusb.c USB: Dealias -110 code (more complete) 2006-09-27 11:59:00 -07:00
trancevibrator.c USB: add PlayStation 2 Trance Vibrator driver 2006-09-27 11:58:59 -07:00
usbkbd.c [PATCH] USB: move <linux/usb_input.h> to <linux/usb/input.h> 2006-06-21 15:04:18 -07:00
usbmouse.c USB: usb/input/usbmouse.c: whitespace cleanup 2006-09-27 11:58:57 -07:00
usbtouchscreen.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
wacom_sys.c USB: wacom tablet driver reorganization 2006-09-27 11:58:52 -07:00
wacom_wac.c USB: wacom tablet driver reorganization 2006-09-27 11:58:52 -07:00
wacom_wac.h USB: wacom tablet driver reorganization 2006-09-27 11:58:52 -07:00
wacom.h USB: wacom tablet driver reorganization 2006-09-27 11:58:52 -07:00
xpad.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
yealink.c USB: fix __must_check warnings in drivers/usb/input/ 2006-09-27 11:58:58 -07:00
yealink.h [PATCH] input-driver-yealink-P1K-usb-phone 2005-09-08 16:40:57 -07:00