diff options
author | Ping Cheng <pinglinux@gmail.com> | 2015-01-27 13:30:03 -0800 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2015-01-29 14:05:05 +0100 |
commit | 500d4160abe9a2e88b12e319c13ae3ebd1e18108 (patch) | |
tree | b592fb9443e6621d2d51ab4dec42139481f614c1 /drivers/hid/wacom_sys.c | |
parent | a2f71c6c878e664cce4591fc1de36dce2bf44d8d (diff) | |
download | talos-obmc-linux-500d4160abe9a2e88b12e319c13ae3ebd1e18108.tar.gz talos-obmc-linux-500d4160abe9a2e88b12e319c13ae3ebd1e18108.zip |
HID: wacom: add support for Cintiq 27QHD and 27QHD touch
These devices have accelerometers. To report accelerometer coordinates, a new
property, INPUT_PROP_ACCELEROMETER, is added.
Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/wacom_sys.c')
-rw-r--r-- | drivers/hid/wacom_sys.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/hid/wacom_sys.c b/drivers/hid/wacom_sys.c index f01ab3a0c5f5..f0568a7e6de9 100644 --- a/drivers/hid/wacom_sys.c +++ b/drivers/hid/wacom_sys.c @@ -403,6 +403,9 @@ static int wacom_query_tablet_data(struct hid_device *hdev, else if (features->type == WACOM_24HDT || features->type == CINTIQ_HYBRID) { return wacom_set_device_mode(hdev, 18, 3, 2); } + else if (features->type == WACOM_27QHDT) { + return wacom_set_device_mode(hdev, 131, 3, 2); + } } else if (features->device_type == BTN_TOOL_PEN) { if (features->type <= BAMBOO_PT && features->type != WIRELESS) { return wacom_set_device_mode(hdev, 2, 2, 2); |