summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEgbert Eich <eich@suse.com>2014-03-11 15:19:14 +0100
committerJason Gerecke <killertofu@gmail.com>2014-03-19 15:42:37 -0700
commit10cc765549ed152d9f2dd82da5c33e9e9df5d30b (patch)
tree4442023dbd8982fca2f29132a4bd42a51372abca /include
parent9765439856149570be41d1e2f2492e620822d492 (diff)
downloadxf86-input-wacom-10cc765549ed152d9f2dd82da5c33e9e9df5d30b.tar.gz
Add an option to disable pressure recalibration
If the initial pressure of a device is != 0 the driver recalibrates the pressure range. This is to account for worn out devices. The downside is that when the user hits the tablet very hard the initial pressure reading may be unequal to zero even for a perfectly good pen. If the consecutive pressure readings are not higher than the initial pressure by a threshold no button event will be generated. This option allows to disable the recalibration. Signed-off-by: Egbert Eich <eich@suse.com> Reviewed-by: Jason Gerecke <killertofu@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/wacom-properties.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/wacom-properties.h b/include/wacom-properties.h
index 3201d99..b845083 100644
--- a/include/wacom-properties.h
+++ b/include/wacom-properties.h
@@ -106,6 +106,10 @@
*/
#define WACOM_PROP_DEBUGLEVELS "Wacom Debug Levels"
+/* BOOL, 1 value,
+ TRUE == pressure renormalization enabled, FALSE == pressure renormalization disabled
+*/
+#define WACOM_PROP_PRESSURE_RECAL "Wacom Pressure Recalibration"
/* The following are tool types used by the driver in WACOM_PROP_TOOL_TYPE
* or in the 'type' field for XI1 clients. Clients may check for one of