android_kernel_google_msm/drivers/hid
Benjamin Tissoires b84bd27fe7 HID: hid-multitouch: fix broken eGalax
Since the inclusion of eGalax devices in 2.6.39, I've got some
bug reports for 480d and other devices.
The problem lies in the reports descriptors: eGalax supports both
pen and fingers, and so the reports descriptors contained both.
But hid-multitouch relies on them to detect the last item in each
field to send the multitouch events. In 480d, the last item is not
Y as it should but Pressure. That means that the fields are not
aligned and X,Y are at 0,0 (the other touch coordinates of the report).

With this patch, the detection is made only when the field ContactID
has been detected inside the collection.

There is still a problem with the detections of the range as stylus
and fingers may not have the same min/max, but it's a start.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>
Reviewed-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2011-06-12 23:59:23 +02:00
..
usbhid HID: hiddev: fix use after free in hiddev_release 2011-05-26 14:04:40 +02:00
hid-a4tech.c
hid-apple.c
hid-axff.c
hid-belkin.c
hid-cherry.c
hid-chicony.c
hid-core.c HID: hid-multitouch: add support for Chunghwa multi-touch panel 2011-06-07 15:43:19 +02:00
hid-cypress.c
hid-debug.c Fix common misspellings 2011-03-31 11:26:23 -03:00
hid-dr.c
hid-elecom.c
hid-emsff.c
hid-ezkey.c
hid-gaff.c
hid-gyration.c
hid-ids.h HID: hid-multitouch: add support for Chunghwa multi-touch panel 2011-06-07 15:43:19 +02:00
hid-input.c HID: assorted usage updates from hut 1.12 2011-05-18 17:07:34 +02:00
hid-kensington.c
hid-keytouch.c
hid-kye.c
hid-lcpower.c
hid-lg.c HID: add support for Logitech G27 wheel 2011-05-03 10:15:03 +02:00
hid-lg.h
hid-lg2ff.c
hid-lg3ff.c
hid-lg4ff.c
hid-lgff.c Merge branches 'doc', 'multitouch', 'upstream' and 'upstream-fixes' into for-linus 2011-05-23 12:49:25 +02:00
hid-magicmouse.c Merge branches 'doc', 'multitouch', 'upstream' and 'upstream-fixes' into for-linus 2011-05-23 12:49:25 +02:00
hid-microsoft.c
hid-monterey.c
hid-multitouch.c HID: hid-multitouch: fix broken eGalax 2011-06-12 23:59:23 +02:00
hid-ntrig.c
hid-ortek.c
hid-petalynx.c
hid-picolcd.c Merge branch 'master' into upstream. 2011-05-18 17:06:49 +02:00
hid-pl.c
hid-prodikeys.c
hid-quanta.c
hid-roccat-arvo.c
hid-roccat-arvo.h
hid-roccat-common.c
hid-roccat-common.h
hid-roccat-kone.c
hid-roccat-kone.h Fix common misspellings 2011-03-31 11:26:23 -03:00
hid-roccat-koneplus.c HID: roccat: fix actual/startup profile sysfs attribute in koneplus 2011-05-18 16:34:06 +02:00
hid-roccat-koneplus.h HID: roccat: fix actual/startup profile sysfs attribute in koneplus 2011-05-18 16:34:06 +02:00
hid-roccat-kovaplus.c
hid-roccat-kovaplus.h
hid-roccat-pyra.c HID: roccat: Add support for wireless variant of Pyra 2011-03-24 12:47:46 +01:00
hid-roccat-pyra.h
hid-roccat.c
hid-samsung.c
hid-sjoy.c
hid-sony.c HID: add support for Sony Navigation Controller 2011-04-28 15:43:13 +02:00
hid-sunplus.c
hid-tmff.c
hid-topseed.c
hid-twinhan.c
hid-uclogic.c
hid-wacom.c
hid-waltop.c
hid-zpff.c
hid-zydacron.c
hidraw.c HID: 'name' and 'phys' in 'struct hid_device' can never be NULL 2011-05-18 13:23:31 +02:00
Kconfig HID: hid-multitouch: add support for Chunghwa multi-touch panel 2011-06-07 15:43:19 +02:00
Makefile HID: hid-multitouch: merge hid-mosart into hid-multitouch 2011-04-22 14:14:52 +02:00