From: Dennis Chen <barracks510@gmail.com>
To: Jiri Kosina <jikos@kernel.org>,
Benjamin Tissoires <benjamin.tissoires@redhat.com>
Cc: linux-input@vger.kernel.org
Subject: [PATCH] HID: multitouch: add support for Type Cover Pro 3
Date: Fri, 17 Jun 2016 13:47:23 -0700 [thread overview]
Message-ID: <1466196443.21223.1.camel@gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1811 bytes --]
Include Microsoft Type Cover 3 support into hid-multitouch.c
Allow touchpad device to have multitouch functionality.
Signed-off-by: Dennis Chen <barracks510@gmail.com>
---
drivers/hid/Kconfig | 1 +
drivers/hid/hid-multitouch.c | 14 ++++++++++++++
2 files changed, 15 insertions(+)
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index 5646ca4..5af0603 100644
--- a/drivers/hid/Kconfig
+++ b/drivers/hid/Kconfig
@@ -530,6 +530,7 @@ config HID_MULTITOUCH
- IrTouch Infrared USB panels
- LG Display panels (Dell ST2220Tc)
- Lumio CrystalTouch panels
+ - Microsoft Type Cover 3 touchpad
- MosArt dual-touch panels
- Panasonic multitouch panels
- PenMount dual touch panels
diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
index c741f5e..f052ed2 100644
--- a/drivers/hid/hid-multitouch.c
+++ b/drivers/hid/hid-multitouch.c
@@ -1377,6 +1377,20 @@ static const struct hid_device_id mt_devices[] = {
MT_USB_DEVICE(USB_VENDOR_ID_ILITEK,
USB_DEVICE_ID_ILITEK_MULTITOUCH) },
+ /* Microsoft Type Cover 3 touchpad */
+ { .driver_data = MT_CLS_EXPORT_ALL_INPUTS,
+ MT_USB_DEVICE(USB_VENDOR_ID_MICROSOFT,
+ USB_DEVICE_ID_MS_TYPE_COVER_PRO_3) },
+ { .driver_data = MT_CLS_EXPORT_ALL_INPUTS,
+ MT_USB_DEVICE(USB_VENDOR_ID_MICROSOFT,
+ USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_2) },
+ { .driver_data = MT_CLS_EXPORT_ALL_INPUTS,
+ MT_USB_DEVICE(USB_VENDOR_ID_MICROSOFT,
+ USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_JP) },
+ { .driver_data = MT_CLS_EXPORT_ALL_INPUTS,
+ MT_USB_DEVICE(USB_VENDOR_ID_MICROSOFT,
+ USB_DEVICE_ID_MS_TYPE_COVER_3) },
+
/* MosArt panels */
{ .driver_data = MT_CLS_CONFIDENCE_MINUS_ONE,
MT_USB_DEVICE(USB_VENDOR_ID_ASUS,
--
2.5.5
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 5755 bytes --]
next reply other threads:[~2016-06-17 20:47 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-17 20:47 Dennis Chen [this message]
2016-06-17 21:00 ` [PATCH] HID: multitouch: add support for Type Cover Pro 3 Jiri Kosina
2016-06-17 21:11 ` Benjamin Tissoires
2016-06-18 18:53 ` Dennis Chen
2016-06-18 19:45 ` Benjamin Tissoires
2016-06-18 23:13 ` Dennis Chen
2016-06-19 20:48 ` Dennis Chen
2016-06-20 9:59 ` Benjamin Tissoires
2016-06-24 3:38 ` Dennis Chen
2016-06-24 7:14 ` Benjamin Tissoires
2016-06-25 7:49 ` Dennis Chen
2016-07-01 14:52 ` Benjamin Tissoires
2016-07-23 20:13 ` Dennis Chen
2016-07-25 10:16 ` Benjamin Tissoires
2016-09-19 16:30 ` Dennis Chen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1466196443.21223.1.camel@gmail.com \
--to=barracks510@gmail.com \
--cc=benjamin.tissoires@redhat.com \
--cc=jikos@kernel.org \
--cc=linux-input@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.