Commit e35fb8c1 authored by Ping Cheng's avatar Ping Cheng Committed by Dmitry Torokhov

Input: wacom - report resolution for pen devices

Touch resolution is reported to the userland by retrieving the value
from the HID descriptor. But pen resolution is not since it can not
be retrieved. The current Wacom X driver has a resolution table.
To centralize the source of these values, the resolution entries are
added in the wacom_features struct for x and y coordinates respectively.
The values are then reported to the userland.
Signed-off-by: default avatarPing Cheng <pingc@wacom.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 7b824bbd
This diff is collapsed.
...@@ -74,6 +74,8 @@ struct wacom_features { ...@@ -74,6 +74,8 @@ struct wacom_features {
int pressure_max; int pressure_max;
int distance_max; int distance_max;
int type; int type;
int x_resolution;
int y_resolution;
int device_type; int device_type;
int x_phy; int x_phy;
int y_phy; int y_phy;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment