summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-rmi.c
diff options
context:
space:
mode:
authorAndrew Duggan <aduggan@synaptics.com>2015-01-08 14:51:35 -0800
committerJiri Kosina <jkosina@suse.cz>2015-01-12 10:12:00 +0100
commite9287099ba6539bccb20cd791269186f3ae28b85 (patch)
tree9b79f9bbaf1ae7527ef17e931d9993665b2c589c /drivers/hid/hid-rmi.c
parent79364d87af239e2029aeba3b82bd79c355b9bb86 (diff)
downloadop-kernel-dev-e9287099ba6539bccb20cd791269186f3ae28b85.zip
op-kernel-dev-e9287099ba6539bccb20cd791269186f3ae28b85.tar.gz
HID: rmi: Add support for the touchpad in the Razer Blade 14 laptop
Have hid-rmi handle all of the Razer Blade HID devices that are part of the composite USB device. This will allow hid-rmi to operate the touchpad in rmi mode while passing events from the other devices to hid-input. Signed-off-by: Andrew Duggan <aduggan@synaptics.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-rmi.c')
-rw-r--r--drivers/hid/hid-rmi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hid/hid-rmi.c b/drivers/hid/hid-rmi.c
index 4bf43c8..49d4fe4 100644
--- a/drivers/hid/hid-rmi.c
+++ b/drivers/hid/hid-rmi.c
@@ -1082,6 +1082,8 @@ static void rmi_remove(struct hid_device *hdev)
}
static const struct hid_device_id rmi_id[] = {
+ { HID_USB_DEVICE(USB_VENDOR_ID_RAZER, USB_DEVICE_ID_RAZER_BLADE_14),
+ .driver_data = RMI_DEVICE_HAS_PHYS_BUTTONS },
{ HID_DEVICE(HID_BUS_ANY, HID_GROUP_RMI, HID_ANY_ID, HID_ANY_ID) },
{ }
};
OpenPOWER on IntegriCloud