summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2016-04-22 15:04:37 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2016-05-03 16:15:51 +1000
commit2285fe78c04714561a0d1a164a41a38c48263f89 (patch)
treee798d40bc6dad80b64d8bd18a70ceffafa73aa2c /include
parentfa02b05645080c285da5972262a8d37403e39d7e (diff)
xfree86: add support for MatchIsTabletPad
The tablet pads have been separate kernel devices for a while now and libwacom has labelled them with the udev ID_INPUT_TABLET_PAD for over a year now. Add a new MatchIsTabletPad directive to apply configuration options specifically to the Pad part of a tablet. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/input.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/input.h b/include/input.h
index 966212305..cfdea2ad4 100644
--- a/include/input.h
+++ b/include/input.h
@@ -237,6 +237,7 @@ typedef struct _InputAttributes {
#define ATTR_TOUCHPAD (1<<4)
#define ATTR_TOUCHSCREEN (1<<5)
#define ATTR_KEY (1<<6)
+#define ATTR_TABLET_PAD (1<<7)
/* Key/Button has been run through all input processing and events sent to clients. */
#define KEY_PROCESSED 1