Skip to contentSkip to conversation

HID: wacom: Add outbounding area for DTU1141

PATCH Applied Ping Cheng 2 participants 2 messages Nov 13, 2015

Subsystems (2)
lore
Share & tools
lore

Ping Cheng

author
#0 lore raw

PATCH 1/1 HID: wacom: Add outbounding area for DTU1141

DTU1141 has an extra 1 mm tablet active outbounding area on each side of the display, same as those recently released DTUs.

---
 drivers/hid/wacom_wac.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/hid/wacom_wac.c +2 -1
index 9db6a8b..5d946bb 100644
@@ -3187,7 +3187,8 @@ static const struct wacom_features wacom_features_0x32F =
 	  WACOM_DTU_OFFSET, WACOM_DTU_OFFSET };
 static const struct wacom_features wacom_features_0x336 =
 	{ "Wacom DTU1141", 23472, 13203, 1023, 0,
-	  DTUS, WACOM_INTUOS_RES, WACOM_INTUOS_RES, 4 };
+	  DTUS, WACOM_INTUOS_RES, WACOM_INTUOS_RES, 4,
+	  WACOM_DTU_OFFSET, WACOM_DTU_OFFSET };
 static const struct wacom_features wacom_features_0x57 =
 	{ "Wacom DTK2241", 95640, 54060, 2047, 63,
 	  DTK, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 6,
Signature · 1 line
1.9.1
maintainer Applied
#1 lore raw
Quoted 13 lines · Ping Cheng

DTU1141 has an extra 1 mm tablet active outbounding area on each side of the display, same as those recently released DTUs.

---
 drivers/hid/wacom_wac.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/hid/wacom_wac.c +0 -0
index 9db6a8b..5d946bb 100644

drivers/hid/wacom_wac.c static const struct wacom_features wacom_features_0x32F = · line 3194

Quoted 9 lines
drivers/hid/wacom_wac.c +2 -1
@@ -3187,7 +3187,8 @@ static const struct wacom_features wacom_features_0x32F =
 	  WACOM_DTU_OFFSET, WACOM_DTU_OFFSET };
 static const struct wacom_features wacom_features_0x336 =
 	{ "Wacom DTU1141", 23472, 13203, 1023, 0,
-	  DTUS, WACOM_INTUOS_RES, WACOM_INTUOS_RES, 4 };
+	  DTUS, WACOM_INTUOS_RES, WACOM_INTUOS_RES, 4,
+	  WACOM_DTU_OFFSET, WACOM_DTU_OFFSET };
 static const struct wacom_features wacom_features_0x57 =
 	{ "Wacom DTK2241", 95640, 54060, 2047, 63,
 	  DTK, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 6,

Applied to for-4.4/upstream-fixes.

Signature · 2 lines
Jiri Kosina
SUSE Labs