summaryrefslogtreecommitdiff
path: root/src/lib/elput/Elput.h
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-02-03 15:14:01 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-02-03 15:13:57 -0500
commit9a8931c3de9690755ee4e943160021d8c3cd7232 (patch)
tree509bfb744cc945035df5c500c62f5cf77d315d72 /src/lib/elput/Elput.h
parent9d0923e847ab1ec6a12360e9a5d8ea4b9bf6bd38 (diff)
elput: add event for relative motion
@feature
Diffstat (limited to 'src/lib/elput/Elput.h')
-rw-r--r--src/lib/elput/Elput.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib/elput/Elput.h b/src/lib/elput/Elput.h
index b48caa12a3..378912eb90 100644
--- a/src/lib/elput/Elput.h
+++ b/src/lib/elput/Elput.h
@@ -98,6 +98,17 @@ typedef struct _Elput_Event_Session_Active
98 Eina_Bool active : 1; 98 Eina_Bool active : 1;
99} Elput_Event_Session_Active; 99} Elput_Event_Session_Active;
100 100
101/** @since 1.19 */
102typedef struct Elput_Event_Pointer_Motion
103{
104 uint64_t time_usec;
105 double dx;
106 double dy;
107 double dx_unaccel;
108 double dy_unaccel;
109} Elput_Event_Pointer_Motion;
110
111
101EAPI extern int ELPUT_EVENT_SEAT_CAPS; 112EAPI extern int ELPUT_EVENT_SEAT_CAPS;
102EAPI extern int ELPUT_EVENT_SEAT_FRAME; 113EAPI extern int ELPUT_EVENT_SEAT_FRAME;
103EAPI extern int ELPUT_EVENT_KEYMAP_SEND; 114EAPI extern int ELPUT_EVENT_KEYMAP_SEND;
@@ -105,6 +116,9 @@ EAPI extern int ELPUT_EVENT_MODIFIERS_SEND;
105EAPI extern int ELPUT_EVENT_DEVICE_CHANGE; 116EAPI extern int ELPUT_EVENT_DEVICE_CHANGE;
106EAPI extern int ELPUT_EVENT_SESSION_ACTIVE; 117EAPI extern int ELPUT_EVENT_SESSION_ACTIVE;
107 118
119/** @since 1.19 */
120EAPI extern int ELPUT_EVENT_POINTER_MOTION;
121
108/** 122/**
109 * @file 123 * @file
110 * @brief Ecore functions for dealing with libinput 124 * @brief Ecore functions for dealing with libinput