diff options
author | Benjamin Tissoires <benjamin.tissoires@enac.fr> | 2012-06-19 14:39:52 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-06-28 10:29:38 +0200 |
commit | 4aceed37e315e8eaa26cb4c8dfd619a32fa24669 (patch) | |
tree | c15e08a4f7d857375649a1313b215c84cfab9675 /drivers/usb/host/ohci-ppc-soc.c | |
parent | 4380d8198845da88915c93a4b3f9cb2fa0f917be (diff) |
HID: hid-multitouch: fix input mode feature command
Zytronic panels shows a new way of setting the Input Mode feature.
This feature is put in the second usage in the HID feature, instead
of the first, as the majority of the multitouch devices.
This patch adds a detection step when the feature is presented to know
where the feature is located in the report. We can then trigger the right
command to the device. This removes the magic number "0" in the function
mt_set_input_mode.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/usb/host/ohci-ppc-soc.c')
0 files changed, 0 insertions, 0 deletions