Skip to content

Commit f786bba

Browse files
Benjamin TissoiresJiri Kosina
authored andcommitted
HID: hid-multitouch: migrate 3M PCT touch screens to hid-multitouch
This patch merges the hid-3m-pct driver into hid-multitouch. To keep devices working the same way they used to with hid-3m-pct, we need to add two signal/noise ratios for width and height. We also need to work on width/height to send proper ABS_MT_ORIENTATION flag. Importing 3M into hid-multitouch also solved the bug in which devices handling width and height in their report descriptors did not show ABS_MT_TOUCH_MAJOR and ABS_MT_TOUCH_MINOR. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@enac.fr> Reviewed-by: Stéphane Chatty <chatty@enac.fr> Reviewed-and-tested-by: Henrik Rydberg <rydberg@euromail.se> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
1 parent 1e648a1 commit f786bba

4 files changed

Lines changed: 46 additions & 314 deletions

File tree

‎drivers/hid/Kconfig‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,6 @@ source "drivers/hid/usbhid/Kconfig"
5555
menu "Special HID drivers"
5656
depends on HID
5757

58-
config HID_3M_PCT
59-
tristate "3M PCT touchscreen"
60-
depends on USB_HID
61-
---help---
62-
Support for 3M PCT touch screens.
63-
6458
config HID_A4TECH
6559
tristate "A4 tech mice" if EXPERT
6660
depends on USB_HID
@@ -314,6 +308,7 @@ config HID_MULTITOUCH
314308
Generic support for HID multitouch panels.
315309

316310
Say Y here if you have one of the following devices:
311+
- 3M PCT touch screens
317312
- Cando dual touch panel
318313
- Cypress TrueTouch panels
319314
- Hanvon dual touch panels

‎drivers/hid/Makefile‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ ifdef CONFIG_LOGIWII_FF
2525
hid-logitech-y += hid-lg4ff.o
2626
endif
2727

28-
obj-$(CONFIG_HID_3M_PCT) += hid-3m-pct.o
2928
obj-$(CONFIG_HID_A4TECH) += hid-a4tech.o
3029
obj-$(CONFIG_HID_ACRUX) += hid-axff.o
3130
obj-$(CONFIG_HID_APPLE) += hid-apple.o

‎drivers/hid/hid-3m-pct.c‎

Lines changed: 0 additions & 305 deletions
This file was deleted.

0 commit comments

Comments
 (0)