HID: wacom: Add outbounding area for DTU1141
Subsystems (2)
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.
Signed-off-by Ping Cheng <[email protected]>
--- drivers/hid/wacom_wac.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
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 ,
Signature · 1 line
1.9.1
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.
Signed-off-by Ping Cheng <[email protected]>--- drivers/hid/wacom_wac.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/hid/wacom_wac.c +0
-0
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