diff options
author | Ping Cheng <pinglinux@gmail.com> | 2014-05-29 00:08:41 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-05-29 00:09:16 -0700 |
commit | ac414da37f88ddbc04617d883539113f27c75f56 (patch) | |
tree | 722957806cfba2c00bcc8e29616096ca9ade99fe /drivers/input/tablet/wacom_wac.h | |
parent | 805a876af7261cbe11498ae544add0bc8ad74192 (diff) | |
download | lwn-ac414da37f88ddbc04617d883539113f27c75f56.tar.gz lwn-ac414da37f88ddbc04617d883539113f27c75f56.zip |
Input: wacom - process outbound for newer Cintiqs
New Cintiq tablets have a 200 tablet counts outside of screen area.
Add x/y_min for ABS_X/Y to pass this information to userland.
Signed-off-by: Ping Cheng <pingc@wacom.com>
Reviewed-by: Jason Gerecke <killertofu@gmail.com>
Tested-by: Jason Gerecke <killertofu@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/tablet/wacom_wac.h')
-rw-r--r-- | drivers/input/tablet/wacom_wac.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/tablet/wacom_wac.h b/drivers/input/tablet/wacom_wac.h index 29774cae7da1..b2c9a9c1b551 100644 --- a/drivers/input/tablet/wacom_wac.h +++ b/drivers/input/tablet/wacom_wac.h @@ -122,6 +122,8 @@ struct wacom_features { int type; int x_resolution; int y_resolution; + int x_min; + int y_min; int device_type; int x_phy; int y_phy; |