Skip to content

Commit 3e84c76

Browse files
drinkcatJiri Kosina
authored andcommitted
HID: google: Add support for whiskers
Another device in the hammer class, with USB id 0x5030. Signed-off-by: Nicolas Boichat <[email protected]> Acked-by: Benjamin Tissoires <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent fdea70d commit 3e84c76

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

drivers/hid/hid-google-hammer.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ static const struct hid_device_id hammer_devices[] = {
124124
USB_VENDOR_ID_GOOGLE, USB_DEVICE_ID_GOOGLE_STAFF) },
125125
{ HID_DEVICE(BUS_USB, HID_GROUP_GENERIC,
126126
USB_VENDOR_ID_GOOGLE, USB_DEVICE_ID_GOOGLE_WAND) },
127+
{ HID_DEVICE(BUS_USB, HID_GROUP_GENERIC,
128+
USB_VENDOR_ID_GOOGLE, USB_DEVICE_ID_GOOGLE_WHISKERS) },
127129
{ }
128130
};
129131
MODULE_DEVICE_TABLE(hid, hammer_devices);

drivers/hid/hid-ids.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,7 @@
452452
#define USB_DEVICE_ID_GOOGLE_TOUCH_ROSE 0x5028
453453
#define USB_DEVICE_ID_GOOGLE_STAFF 0x502b
454454
#define USB_DEVICE_ID_GOOGLE_WAND 0x502d
455+
#define USB_DEVICE_ID_GOOGLE_WHISKERS 0x5030
455456

456457
#define USB_VENDOR_ID_GOTOP 0x08f2
457458
#define USB_DEVICE_ID_SUPER_Q2 0x007f

0 commit comments

Comments
 (0)