summaryrefslogtreecommitdiff
path: root/src/lib/elput/elput_private.h
diff options
context:
space:
mode:
authorChris Michael <cpmichael@osg.samsung.com>2016-04-06 11:32:42 -0400
committerChris Michael <cpmichael@osg.samsung.com>2016-04-13 14:16:17 -0400
commit6a7589bf7805b31b532cd6acf972a3f87f65366f (patch)
tree78da2d5b24d4e40d4dc92d465553a2d07a58d3dc /src/lib/elput/elput_private.h
parentb01666075d9c89dbba2ca279aa299f429784dec4 (diff)
elput: Handle various events from libinput and pass to ecore_event
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Diffstat (limited to 'src/lib/elput/elput_private.h')
-rw-r--r--src/lib/elput/elput_private.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/lib/elput/elput_private.h b/src/lib/elput/elput_private.h
index 4c1b7f1c8e..8dc2752185 100644
--- a/src/lib/elput/elput_private.h
+++ b/src/lib/elput/elput_private.h
@@ -143,7 +143,7 @@ struct _Elput_Pointer
143 unsigned int timestamp; 143 unsigned int timestamp;
144 144
145 int minx, miny; 145 int minx, miny;
146 int maxx, maxy; 146 int maxw, maxh;
147 int hotx, hoty; 147 int hotx, hoty;
148 148
149 struct 149 struct
@@ -190,6 +190,8 @@ struct _Elput_Seat
190 int kbd, ptr, touch; 190 int kbd, ptr, touch;
191 } count; 191 } count;
192 192
193 unsigned int modifiers;
194
193 Elput_Keyboard *kbd; 195 Elput_Keyboard *kbd;
194 Elput_Pointer *ptr; 196 Elput_Pointer *ptr;
195 Elput_Touch *touch; 197 Elput_Touch *touch;
@@ -201,6 +203,10 @@ struct _Elput_Device
201{ 203{
202 Elput_Seat *seat; 204 Elput_Seat *seat;
203 205
206 /* TODO: we will need an API to set this */
207 uint32_t window;
208 uint32_t ow, oh;
209
204 const char *path; 210 const char *path;
205 const char *output_name; 211 const char *output_name;
206 struct libinput_device *device; 212 struct libinput_device *device;
@@ -236,6 +242,10 @@ void _evdev_keyboard_destroy(Elput_Keyboard *kbd);
236void _evdev_pointer_destroy(Elput_Pointer *ptr); 242void _evdev_pointer_destroy(Elput_Pointer *ptr);
237void _evdev_touch_destroy(Elput_Touch *touch); 243void _evdev_touch_destroy(Elput_Touch *touch);
238 244
245Elput_Pointer *_evdev_pointer_get(Elput_Seat *seat);
246Elput_Keyboard *_evdev_keyboard_get(Elput_Seat *seat);
247Elput_Touch *_evdev_touch_get(Elput_Seat *seat);
248
239extern Elput_Interface _logind_interface; 249extern Elput_Interface _logind_interface;
240 250
241#endif 251#endif