aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Gerecke <killertofu@gmail.com>2017-12-26 18:50:18 -0500
committerJiri Kosina <jkosina@suse.cz>2018-01-23 09:43:20 -0500
commitc947218951da68e3fd18a25e9af19556308caf45 (patch)
tree7c850bf66e0c3aebe98ee73aee2aba4eddee54fa
parent403c0f681c1964ff1db8c2fb8de8c4067779d081 (diff)
HID: wacom: Add support for One by Wacom (CTL-472 / CTL-672)
Adds support for the second-generation "One by Wacom" tablets. These devices are similar to the last generation, but a slightly different size and reporting a higher number of pressure levels. Signed-off-by: Mx Jing <jingmingxuan@outlook.com> Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--drivers/hid/wacom_wac.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/hid/wacom_wac.c b/drivers/hid/wacom_wac.c
index 061e4d7a0647..90c38a0523e9 100644
--- a/drivers/hid/wacom_wac.c
+++ b/drivers/hid/wacom_wac.c
@@ -4415,6 +4415,12 @@ static const struct wacom_features wacom_features_0x360 =
4415static const struct wacom_features wacom_features_0x361 = 4415static const struct wacom_features wacom_features_0x361 =
4416 { "Wacom Intuos Pro L", 62200, 43200, 8191, 63, 4416 { "Wacom Intuos Pro L", 62200, 43200, 8191, 63,
4417 INTUOSP2_BT, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9, .touch_max = 10 }; 4417 INTUOSP2_BT, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9, .touch_max = 10 };
4418static const struct wacom_features wacom_features_0x37A =
4419 { "Wacom One by Wacom S", 15200, 9500, 2047, 63,
4420 BAMBOO_PEN, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
4421static const struct wacom_features wacom_features_0x37B =
4422 { "Wacom One by Wacom M", 21600, 13500, 2047, 63,
4423 BAMBOO_PEN, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
4418 4424
4419static const struct wacom_features wacom_features_HID_ANY_ID = 4425static const struct wacom_features wacom_features_HID_ANY_ID =
4420 { "Wacom HID", .type = HID_GENERIC, .oVid = HID_ANY_ID, .oPid = HID_ANY_ID }; 4426 { "Wacom HID", .type = HID_GENERIC, .oVid = HID_ANY_ID, .oPid = HID_ANY_ID };
@@ -4583,6 +4589,8 @@ const struct hid_device_id wacom_ids[] = {
4583 { USB_DEVICE_WACOM(0x343) }, 4589 { USB_DEVICE_WACOM(0x343) },
4584 { BT_DEVICE_WACOM(0x360) }, 4590 { BT_DEVICE_WACOM(0x360) },
4585 { BT_DEVICE_WACOM(0x361) }, 4591 { BT_DEVICE_WACOM(0x361) },
4592 { USB_DEVICE_WACOM(0x37A) },
4593 { USB_DEVICE_WACOM(0x37B) },
4586 { USB_DEVICE_WACOM(0x4001) }, 4594 { USB_DEVICE_WACOM(0x4001) },
4587 { USB_DEVICE_WACOM(0x4004) }, 4595 { USB_DEVICE_WACOM(0x4004) },
4588 { USB_DEVICE_WACOM(0x5000) }, 4596 { USB_DEVICE_WACOM(0x5000) },