All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] HID: multitouch: Add support for Google Whiskers Touchpad
@ 2022-04-05 15:04 Marek Maślanka
  2022-04-21  7:46 ` Jiri Kosina
  0 siblings, 1 reply; 4+ messages in thread
From: Marek Maślanka @ 2022-04-05 15:04 UTC (permalink / raw)
  To: linux-input; +Cc: upstream, benjamin.tissoires, jikos, mm

The Google Whiskers touchpad does not work properly with the default
multitouch configuration. Instead, use the same configuration as Google
Rose.

Signed-off-by: Marek Maslanka <mm@semihalf.com>
---

Changes in v2:
   - As a HID device group use HID_GROUP_MULTITOUCH_WIN_8.

  drivers/hid/hid-multitouch.c | 3 +++
  1 file changed, 3 insertions(+)

diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
index 99eabfb4145b..87a92f2654c0 100644
--- a/drivers/hid/hid-multitouch.c
+++ b/drivers/hid/hid-multitouch.c
@@ -2178,6 +2178,9 @@ static const struct hid_device_id mt_devices[] = {
  	{ .driver_data = MT_CLS_GOOGLE,
  		HID_DEVICE(HID_BUS_ANY, HID_GROUP_ANY, USB_VENDOR_ID_GOOGLE,
  			USB_DEVICE_ID_GOOGLE_TOUCH_ROSE) },
+	{ .driver_data = MT_CLS_GOOGLE,
+		HID_DEVICE(BUS_USB, HID_GROUP_MULTITOUCH_WIN_8, USB_VENDOR_ID_GOOGLE,
+			USB_DEVICE_ID_GOOGLE_WHISKERS) },
  
  	/* Generic MT device */
  	{ HID_DEVICE(HID_BUS_ANY, HID_GROUP_MULTITOUCH, HID_ANY_ID, HID_ANY_ID) },
-- 
2.32.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-04-21  8:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-05 15:04 [PATCH v2] HID: multitouch: Add support for Google Whiskers Touchpad Marek Maślanka
2022-04-21  7:46 ` Jiri Kosina
2022-04-21  7:51   ` Benjamin Tissoires
2022-04-21  8:25     ` Jiri Kosina

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.