forked from enlightenment/efl
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>
This commit is contained in:
parent
080ef1d984
commit
ff13e2d88d
|
@ -159,6 +159,11 @@ struct _Ecore_Drm_Evdev
|
|||
|
||||
int mt_slot;
|
||||
|
||||
struct
|
||||
{
|
||||
int w, h;
|
||||
} output;
|
||||
|
||||
/* struct */
|
||||
/* { */
|
||||
/* int min_x, min_y; */
|
||||
|
@ -228,6 +233,8 @@ Eina_Bool _ecore_drm_launcher_device_open(const char *device, Ecore_Drm_Open_Cb
|
|||
int _ecore_drm_launcher_device_open_no_pending(const char *device, int flags);
|
||||
void _ecore_drm_launcher_device_close(const char *device, int fd);
|
||||
|
||||
void _ecore_drm_inputs_update_output(Ecore_Drm_Device *dev, int w, int h);
|
||||
|
||||
Ecore_Drm_Evdev *_ecore_drm_evdev_device_create(Ecore_Drm_Seat *seat, struct libinput_device *device);
|
||||
void _ecore_drm_evdev_device_destroy(Ecore_Drm_Evdev *evdev);
|
||||
Eina_Bool _ecore_drm_evdev_event_process(struct libinput_event *event);
|
||||
|
|
Loading…
Reference in New Issue