summaryrefslogtreecommitdiff
path: root/src/libinput.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2016-01-05 14:08:01 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2016-01-06 11:02:40 +1000
commit0b124a1a5d5e8d49d2a75af7da741f004b58ebbe (patch)
tree78137892626b4d9d6fad3b28b102ef97371b919e /src/libinput.h
parentc5b87828ee4641b4a3cd7db8d1b86432283873c7 (diff)
tablet: insert "STATE" into proximity/tip states
Makes it even longer, but at least it's consistent with button and key state. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Jason Gerecke <jason.gerecke@wacom.com>
Diffstat (limited to 'src/libinput.h')
-rw-r--r--src/libinput.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libinput.h b/src/libinput.h
index e29b01a6..9848d59e 100644
--- a/src/libinput.h
+++ b/src/libinput.h
@@ -197,8 +197,8 @@ enum libinput_tablet_tool_type {
* distance (a few cm) off the surface.
*/
enum libinput_tablet_tool_proximity_state {
- LIBINPUT_TABLET_TOOL_PROXIMITY_OUT = 0,
- LIBINPUT_TABLET_TOOL_PROXIMITY_IN = 1,
+ LIBINPUT_TABLET_TOOL_PROXIMITY_STATE_OUT = 0,
+ LIBINPUT_TABLET_TOOL_PROXIMITY_STATE_IN = 1,
};
/**
@@ -284,9 +284,9 @@ enum libinput_event_type {
* with @ref LIBINPUT_EVENT_TABLET_TOOL_AXIS events.
*
* Some tools may always be in proximity. For these tools, events of
- * type @ref LIBINPUT_TABLET_TOOL_PROXIMITY_IN are sent only once after @ref
+ * type @ref LIBINPUT_TABLET_TOOL_PROXIMITY_STATE_IN are sent only once after @ref
* LIBINPUT_EVENT_DEVICE_ADDED, and events of type @ref
- * LIBINPUT_TABLET_TOOL_PROXIMITY_OUT are sent only once before @ref
+ * LIBINPUT_TABLET_TOOL_PROXIMITY_STATE_OUT are sent only once before @ref
* LIBINPUT_EVENT_DEVICE_REMOVED.
*
* If the tool that comes into proximity supports x/y coordinates,