kernel-hacking-2024-linux-s.../drivers/hid
Benjamin Tissoires afbcb04c18 HID: multitouch: get maxcontacts also from logical_max value
Win8 devices are required to present the feature "Maximum Contact Number".
Fortunately all win7 devices I've seen presents this feature.
If the current value is 0, then, the driver can get the actual supported
contact count by refering to the logical_max.
This win8 specification ensures that logical_max may not be above 250.
This also allows us to detect when devices like irtouch or stantum reports
an obviously wrong value of 255.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Acked-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2012-11-15 10:08:56 +01:00
..
usbhid Merge branch 'upstream' into for-linus 2012-10-01 14:37:51 +02:00
hid-a4tech.c HID: remove Paul Walmsley's copyright from places where it shouldn't be 2012-09-05 10:46:36 +02:00
hid-apple.c HID: Add support for the MacBook Pro 10,2 keyboard / touchpad 2012-10-31 10:42:33 +01:00
hid-aureal.c HID: remove Paul Walmsley's copyright from places where it shouldn't be 2012-09-05 10:46:36 +02:00
hid-axff.c
hid-belkin.c HID: remove Paul Walmsley's copyright from places where it shouldn't be 2012-09-05 10:46:36 +02:00
hid-cherry.c HID: remove Paul Walmsley's copyright from places where it shouldn't be 2012-09-05 10:46:36 +02:00
hid-chicony.c HID: add ASUS AIO keyboard model AK1D 2012-07-23 12:10:21 +02:00
hid-core.c HID: add usage_index in struct hid_usage. 2012-11-15 10:08:14 +01:00
hid-cypress.c HID: remove Paul Walmsley's copyright from places where it shouldn't be 2012-09-05 10:46:36 +02:00
hid-debug.c HID: hid-debug: Show rdesc for unclaimed devices 2012-08-27 08:01:21 -07:00
hid-dr.c
hid-elecom.c
hid-emsff.c
hid-ezkey.c HID: remove Paul Walmsley's copyright from places where it shouldn't be 2012-09-05 10:46:36 +02:00
hid-gaff.c
hid-generic.c
hid-gyration.c HID: remove Paul Walmsley's copyright from places where it shouldn't be 2012-09-05 10:46:36 +02:00
hid-holtek-kbd.c HID: Add driver for Holtek based keyboards with broken HID 2012-07-12 12:34:43 +02:00
hid-holtekff.c HID: holtekff: use %*ph to dump small buffers 2012-09-10 23:00:32 +02:00
hid-hyperv.c
hid-ids.h HID: Add support for the MacBook Pro 10,2 keyboard / touchpad 2012-10-31 10:42:33 +01:00
hid-input.c HID: fix unit exponent parsing 2012-11-15 10:07:55 +01:00
hid-kensington.c
hid-keytouch.c
hid-kye.c
hid-lcpower.c HID: hid-lcpower: Use HID_UP_LOGIVENDOR instead of hard coded 0x0ffbc0000 2012-09-05 11:55:35 +02:00
hid-lenovo-tpkbd.c Merge branch 'upstream' into for-linus 2012-10-01 14:37:51 +02:00
hid-lg.c Merge branch 'upstream' into for-linus 2012-10-01 14:37:51 +02:00
hid-lg.h HID: hid-lg4ff: Adjust X axis input value accordingly to selected range. 2012-09-25 15:41:02 +02:00
hid-lg2ff.c
hid-lg3ff.c
hid-lg4ff.c Merge branch 'upstream' into for-linus 2012-10-01 14:37:51 +02:00
hid-lgff.c
hid-logitech-dj.c HID: Fix logitech-dj: missing Unifying device issue 2012-09-22 10:58:48 +02:00
hid-logitech-dj.h HID: Fix logitech-dj: missing Unifying device issue 2012-09-22 10:58:48 +02:00
hid-magicmouse.c Input: MT - Add flags to input_mt_init_slots() 2012-09-19 19:50:18 +02:00
hid-microsoft.c HID: microsoft: fix invalid rdesc for 3k kbd 2012-10-31 10:42:32 +01:00
hid-monterey.c HID: remove Paul Walmsley's copyright from places where it shouldn't be 2012-09-05 10:46:36 +02:00
hid-multitouch.c HID: multitouch: get maxcontacts also from logical_max value 2012-11-15 10:08:56 +01:00
hid-ntrig.c HID: ntrig: change default value of logical/physical width/height to 1 2012-09-25 15:20:07 +02:00
hid-ortek.c
hid-petalynx.c HID: remove Paul Walmsley's copyright from places where it shouldn't be 2012-09-05 10:46:36 +02:00
hid-picolcd.h HID: picolcd: fix build error if !CONFIG_DEBUG_FS 2012-09-11 16:06:22 +02:00
hid-picolcd_backlight.c HID: picoLCD: Improve unplug handling 2012-08-15 10:13:26 +02:00
hid-picolcd_cir.c HID: picoLCD: fix a NULL test in picolcd_raw_cir() 2012-09-08 21:19:07 +02:00
hid-picolcd_core.c HID: picolcd_core: Remove setting hdev->claimed before calling hid_hw_start() 2012-09-19 13:57:03 +02:00
hid-picolcd_debugfs.c HID: picoLCD: optimize for inactive debugfs 2012-10-01 10:25:01 +02:00
hid-picolcd_fb.c Merge branch 'for-3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq 2012-10-02 09:54:49 -07:00
hid-picolcd_lcd.c HID: picoLCD: Improve unplug handling 2012-08-15 10:13:26 +02:00
hid-picolcd_leds.c HID: picoLCD: Improve unplug handling 2012-08-15 10:13:26 +02:00
hid-pl.c
hid-primax.c HID: primax: Remove px_probe() and px_remove() functions 2012-09-07 14:55:38 +02:00
hid-prodikeys.c HID: prodikeys: Remove unnecessary casts of void pointers 2012-09-17 13:08:30 +02:00
hid-ps3remote.c HID: Add support for Sony PS3 BD Remote Control 2012-10-01 10:11:48 +02:00
hid-roccat-arvo.c HID: roccat: rename roccat_common functions to roccat_common2 2012-06-28 10:34:01 +02:00
hid-roccat-arvo.h
hid-roccat-common.c HID: roccat: rename roccat_common functions to roccat_common2 2012-06-28 10:34:01 +02:00
hid-roccat-common.h HID: roccat: rename roccat_common functions to roccat_common2 2012-06-28 10:34:01 +02:00
hid-roccat-isku.c HID: roccat: rename roccat_common functions to roccat_common2 2012-06-28 10:34:01 +02:00
hid-roccat-isku.h HID: roccat: move functionality to roccat-common 2012-06-28 10:34:01 +02:00
hid-roccat-kone.c HID: roccat: fix wrong hid_err usage on struct usb_device 2012-06-28 10:34:01 +02:00
hid-roccat-kone.h
hid-roccat-koneplus.c HID: roccat: rename roccat_common functions to roccat_common2 2012-06-28 10:34:01 +02:00
hid-roccat-koneplus.h HID: roccat: move functionality to roccat-common 2012-06-28 10:34:01 +02:00
hid-roccat-kovaplus.c HID: roccat: rename roccat_common functions to roccat_common2 2012-06-28 10:34:01 +02:00
hid-roccat-kovaplus.h HID: roccat: move functionality to roccat-common 2012-06-28 10:34:01 +02:00
hid-roccat-pyra.c HID: roccat: rename roccat_common functions to roccat_common2 2012-06-28 10:34:01 +02:00
hid-roccat-pyra.h HID: roccat: move functionality to roccat-common 2012-06-28 10:34:01 +02:00
hid-roccat-savu.c HID: roccat: added sensor sysfs attribute for Savu 2012-07-20 09:50:42 +02:00
hid-roccat-savu.h HID: roccat: added sensor sysfs attribute for Savu 2012-07-20 09:50:42 +02:00
hid-roccat.c
hid-saitek.c
hid-samsung.c HID: remove Paul Walmsley's copyright from places where it shouldn't be 2012-09-05 10:46:36 +02:00
hid-sensor-hub.c HID: hid-sensor-hub: Fix sensor_hub_probe error handling 2012-09-22 10:33:14 +01:00
hid-sjoy.c
hid-sony.c HID: remove Paul Walmsley's copyright from places where it shouldn't be 2012-09-05 10:46:36 +02:00
hid-speedlink.c
hid-sunplus.c HID: remove Paul Walmsley's copyright from places where it shouldn't be 2012-09-05 10:46:36 +02:00
hid-tivo.c
hid-tmff.c
hid-topseed.c
hid-twinhan.c
hid-uclogic.c HID: uclogic: Add support for UC-Logic TWHA60 2012-08-27 08:09:21 -07:00
hid-wacom.c Merge branch 'upstream' into for-linus 2012-10-01 14:37:51 +02:00
hid-waltop.c HID: waltop: Remove waltop_probe() and waltop_remove() functions 2012-09-07 14:53:59 +02:00
hid-wiimote-core.c
hid-wiimote-debug.c
hid-wiimote-ext.c Merge branch 'for-3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq 2012-10-02 09:54:49 -07:00
hid-wiimote.h
hid-zpff.c
hid-zydacron.c
hidraw.c HID: hidraw: put old deallocation mechanism in place 2012-11-01 11:33:26 +01:00
Kconfig Staging tree update for 3.7-rc1 2012-10-01 12:11:39 -07:00
Makefile Staging tree update for 3.7-rc1 2012-10-01 12:11:39 -07:00
uhid.c HID: uhid: Fix sending events with invalid data 2012-07-20 09:53:45 +02:00