Mir
Functions
input_event.h File Reference
#include "mir_toolkit/events/event.h"
#include "mir_toolkit/mir_input_device_types.h"
#include <stdint.h>
#include <stdbool.h>
#include "mir_toolkit/events/input/touch_event.h"
#include "mir_toolkit/events/input/keyboard_event.h"
#include "mir_toolkit/events/input/pointer_event.h"
Include dependency graph for input_event.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

MirInputDeviceId mir_input_event_get_device_id (MirInputEvent const *event)
 Retrieves the device id responsible for generating an input event. More...
 
int64_t mir_input_event_get_event_time (MirInputEvent const *event)
 Retrieve the time at which an input event occurred. More...
 
uint32_t mir_input_event_get_wayland_timestamp (MirInputEvent const *event)
 Retrieve the event time as a Wayland timestamp. More...
 
MirInputEventType mir_input_event_get_type (MirInputEvent const *event)
 Retrieve the type of an input event. More...
 
MirKeyboardEvent const * mir_input_event_get_keyboard_event (MirInputEvent const *event)
 Retrieve the MirKeyboardEvent associated with a given input event. More...
 
MirTouchEvent const * mir_input_event_get_touch_event (MirInputEvent const *event)
 Retrieve the MirTouchEvent associated with a given input event. More...
 
MirPointerEvent const * mir_input_event_get_pointer_event (MirInputEvent const *event)
 Retrieve the MirPointerEvent associated with a given input event. More...
 
bool mir_input_event_has_cookie (MirInputEvent const *ev)
 Query if an input event contains a cookie. More...
 
MirCookie const * mir_input_event_get_cookie (MirInputEvent const *ev)
 Returns the cookie associated with an input event. More...
 
MirEvent const * mir_input_event_get_event (MirInputEvent const *event)
 Retrieve the MirEvent associated with a given input event. More...
 

Copyright © 2012-2021 Canonical Ltd.
Generated on Thu Jun 17 07:34:44 UTC 2021
This documentation is licensed under the GPL version 2 or 3.