summaryrefslogtreecommitdiffstats
path: root/drivers/hid/wacom_sys.c
diff options
context:
space:
mode:
authorPing Cheng <pinglinux@gmail.com>2015-01-27 13:30:03 -0800
committerJiri Kosina <jkosina@suse.cz>2015-01-29 14:05:05 +0100
commit500d4160abe9a2e88b12e319c13ae3ebd1e18108 (patch)
treeb592fb9443e6621d2d51ab4dec42139481f614c1 /drivers/hid/wacom_sys.c
parenta2f71c6c878e664cce4591fc1de36dce2bf44d8d (diff)
downloadop-kernel-dev-500d4160abe9a2e88b12e319c13ae3ebd1e18108.zip
op-kernel-dev-500d4160abe9a2e88b12e319c13ae3ebd1e18108.tar.gz
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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/hid/wacom_sys.c b/drivers/hid/wacom_sys.c
index f01ab3a..f0568a7 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);
OpenPOWER on IntegriCloud