diff mbox

HID: wacom: Add outbounding area for DTU1141

Message ID 1447377674-16818-1-git-send-email-pingc@wacom.com (mailing list archive)
State New, archived
Delegated to: Jiri Kosina
Headers show

Commit Message

Ping Cheng Nov. 13, 2015, 1:21 a.m. UTC
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 <pingc@wacom.com>
---
 drivers/hid/wacom_wac.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Jiri Kosina Nov. 13, 2015, 10:18 a.m. UTC | #1
On Thu, 12 Nov 2015, Ping Cheng wrote:

> 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 <pingc@wacom.com>
> ---
>  drivers/hid/wacom_wac.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/hid/wacom_wac.c b/drivers/hid/wacom_wac.c
> index 9db6a8b..5d946bb 100644
> --- a/drivers/hid/wacom_wac.c
> +++ b/drivers/hid/wacom_wac.c
> @@ -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.
diff mbox

Patch

diff --git a/drivers/hid/wacom_wac.c b/drivers/hid/wacom_wac.c
index 9db6a8b..5d946bb 100644
--- a/drivers/hid/wacom_wac.c
+++ b/drivers/hid/wacom_wac.c
@@ -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,