diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-01-10 08:49:17 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-01-11 10:30:08 +1000 |
commit | e4c1dc1bc5008bee8195f7dc8b07e0a5d2592a2c (patch) | |
tree | 88184b45083d588c04916c0ced40a16e5c2f9287 /include/wacom-properties.h | |
parent | 9bca63fe9758649eb731661b20bde1d570b6c61f (diff) | |
download | xf86-input-wacom-e4c1dc1bc5008bee8195f7dc8b07e0a5d2592a2c.tar.gz |
Move the type properties to wacom-properties.h.
We're using them as type field, clients expect them, so let's export them
somewhere more visible.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Ping Cheng <pinglinux@gmail.com>
Diffstat (limited to 'include/wacom-properties.h')
-rw-r--r-- | include/wacom-properties.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/wacom-properties.h b/include/wacom-properties.h index 3ec12dd..dfa454d 100644 --- a/include/wacom-properties.h +++ b/include/wacom-properties.h @@ -96,4 +96,15 @@ */ #define WACOM_PROP_DEBUGLEVELS "Wacom Debug Levels" + +/* 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 + * these types to identify tool types. + */ +#define WACOM_PROP_XI_TYPE_STYLUS "STYLUS" +#define WACOM_PROP_XI_TYPE_CURSOR "CURSOR" +#define WACOM_PROP_XI_TYPE_ERASER "ERASER" +#define WACOM_PROP_XI_TYPE_PAD "PAD" +#define WACOM_PROP_XI_TYPE_TOUCH "TOUCH" + #endif |