summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2014-12-10 10:15:10 -0500
committerChris Michael <cp.michael@samsung.com>2014-12-10 12:01:58 -0500
commitff13e2d88d6bfc8554052b89807ca92d3a16c3c6 (patch)
tree69f8bfe98385f2318c740b115ba5b8df2b7d9cfa /src/lib
parent080ef1d984ece1a760c6ed99f274133e5548aad7 (diff)
ecore-drm: Add output size to device structure and add internal
function for setting size Summary: This is needed so that events for mouse, touch, etc can get transformed into output coordinates @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ecore_drm/ecore_drm_private.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_private.h b/src/lib/ecore_drm/ecore_drm_private.h
index 2606345593..acd61f514b 100644
--- a/src/lib/ecore_drm/ecore_drm_private.h
+++ b/src/lib/ecore_drm/ecore_drm_private.h
@@ -159,6 +159,11 @@ struct _Ecore_Drm_Evdev
159 159
160 int mt_slot; 160 int mt_slot;
161 161
162 struct
163 {
164 int w, h;
165 } output;
166
162 /* struct */ 167 /* struct */
163 /* { */ 168 /* { */
164 /* int min_x, min_y; */ 169 /* int min_x, min_y; */
@@ -228,6 +233,8 @@ Eina_Bool _ecore_drm_launcher_device_open(const char *device, Ecore_Drm_Open_Cb
228int _ecore_drm_launcher_device_open_no_pending(const char *device, int flags); 233int _ecore_drm_launcher_device_open_no_pending(const char *device, int flags);
229void _ecore_drm_launcher_device_close(const char *device, int fd); 234void _ecore_drm_launcher_device_close(const char *device, int fd);
230 235
236void _ecore_drm_inputs_update_output(Ecore_Drm_Device *dev, int w, int h);
237
231Ecore_Drm_Evdev *_ecore_drm_evdev_device_create(Ecore_Drm_Seat *seat, struct libinput_device *device); 238Ecore_Drm_Evdev *_ecore_drm_evdev_device_create(Ecore_Drm_Seat *seat, struct libinput_device *device);
232void _ecore_drm_evdev_device_destroy(Ecore_Drm_Evdev *evdev); 239void _ecore_drm_evdev_device_destroy(Ecore_Drm_Evdev *evdev);
233Eina_Bool _ecore_drm_evdev_event_process(struct libinput_event *event); 240Eina_Bool _ecore_drm_evdev_event_process(struct libinput_event *event);