Ecore functions for dealing with libinput. More...
Data Structures | |
struct | _Elput_Event_Seat_Caps |
struct | _Elput_Event_Seat_Frame |
struct | _Elput_Event_Modifiers_Send |
struct | _Elput_Event_Device_Change |
struct | _Elput_Event_Session_Active |
struct | Elput_Event_Pointer_Motion |
struct | _Elput_Event_Switch |
Typedefs | |
typedef struct _Elput_Manager | Elput_Manager |
typedef struct _Elput_Seat | Elput_Seat |
typedef struct _Elput_Device | Elput_Device |
typedef struct _Elput_Keyboard | Elput_Keyboard |
typedef struct _Elput_Pointer | Elput_Pointer |
typedef struct _Elput_Touch | Elput_Touch |
typedef struct _Elput_Swipe_Gesture | Elput_Swipe_Gesture |
typedef struct _Elput_Event_Seat_Caps | Elput_Event_Seat_Caps |
typedef struct _Elput_Event_Seat_Frame | Elput_Event_Seat_Frame |
typedef struct _Elput_Event_Modifiers_Send | Elput_Event_Modifiers_Send |
typedef enum _Elput_Device_Change_Type | Elput_Device_Change_Type |
typedef struct _Elput_Event_Device_Change | Elput_Event_Device_Change |
typedef struct _Elput_Event_Session_Active | Elput_Event_Session_Active |
typedef struct Elput_Event_Pointer_Motion | Elput_Event_Pointer_Motion |
typedef struct _Elput_Event_Switch | Elput_Event_Switch |
Enumerations | |
enum | Elput_Device_Caps { ELPUT_DEVICE_CAPS_POINTER = (1 << 0) , ELPUT_DEVICE_CAPS_KEYBOARD = (1 << 1) , ELPUT_DEVICE_CAPS_TOUCH = (1 << 2) , ELPUT_DEVICE_CAPS_TABLET_TOOL = (1 << 3) , ELPUT_DEVICE_CAPS_TABLET_PAD = (1 << 4) , ELPUT_DEVICE_CAPS_GESTURE = (1 << 5) , ELPUT_DEVICE_CAPS_SWITCH = (1 << 6) } |
enum | _Elput_Device_Change_Type { ELPUT_DEVICE_ADDED , ELPUT_DEVICE_REMOVED } |
enum | Elput_Switch_Type { ELPUT_SWITCH_TYPE_LID = 1 , ELPUT_SWITCH_TYPE_TABLET_MODE } |
enum | Elput_Switch_State { ELPUT_SWITCH_STATE_OFF = 0 , ELPUT_SWITCH_STATE_ON = 1 } |
Functions | |
EAPI int | elput_init (void) |
Initialize the Elput library. More... | |
EAPI int | elput_shutdown (void) |
Shutdown the Elput library. More... | |
EAPI Elput_Manager * | elput_manager_connect (const char *seat, unsigned int tty) |
Create an input manager on the specified seat. More... | |
EAPI Elput_Manager * | elput_manager_connect_gestures (const char *seat, unsigned int tty) |
Create an input manager on the specified seat. More... | |
EAPI void | elput_manager_disconnect (Elput_Manager *manager) |
Disconnect an input manager. More... | |
EAPI int | elput_manager_open (Elput_Manager *manager, const char *path, int flags) |
Request input manager to open a file. More... | |
EAPI void | elput_manager_close (Elput_Manager *manager, int fd) |
Request input manager to close a file. More... | |
EAPI Eina_Bool | elput_manager_vt_set (Elput_Manager *manager, int vt) |
Request to switch to a given vt. More... | |
EAPI const Eina_List * | elput_manager_seats_get (Elput_Manager *manager) |
Get the list of seats from a manager. More... | |
EAPI void | elput_manager_window_set (Elput_Manager *manager, unsigned int window) |
Set which window to use for this input manager. More... | |
EAPI Eina_Bool | elput_input_init (Elput_Manager *manager) |
Initialize input. More... | |
EAPI void | elput_input_shutdown (Elput_Manager *manager) |
Shutdown input. More... | |
EAPI void | elput_input_pointer_xy_get (Elput_Manager *manager, const char *seat, int *x, int *y) |
Get the pointer position on a given seat. More... | |
EAPI void | elput_input_pointer_xy_set (Elput_Manager *manager, const char *seat, int x, int y) |
Set the pointer position on a given seat. More... | |
EAPI Eina_Bool | elput_input_pointer_left_handed_set (Elput_Manager *manager, const char *seat, Eina_Bool left) |
Set the pointer left-handed mode. More... | |
EAPI void | elput_input_pointer_max_set (Elput_Manager *manager, int maxw, int maxh) |
Set the maximum position of any existing mouse pointers. More... | |
EAPI Eina_Bool | elput_input_pointer_rotation_set (Elput_Manager *manager, int rotation) |
Set pointer value rotation. More... | |
EAPI void | elput_input_touch_tap_to_click_enabled_set (Elput_Manager *manager, const char *seat, Eina_Bool enabled) |
Set tap-to-click status. More... | |
EAPI void | elput_input_devices_calibrate (Elput_Manager *manager, int w, int h) |
Calibrate input devices for given screen size. More... | |
EAPI Eina_Bool | elput_input_key_remap_enable (Elput_Manager *manager, Eina_Bool enable) |
Enable key remap functionality. More... | |
EAPI Eina_Bool | elput_input_key_remap_set (Elput_Manager *manager, int *from_keys, int *to_keys, int num) |
Set a given set of keys as remapped keys. More... | |
EAPI void | elput_input_keyboard_info_set (Elput_Manager *manager, void *context, void *keymap, int group) |
Set info to be used for keyboards. More... | |
EAPI void | elput_input_keyboard_group_set (Elput_Manager *manager, int group) |
Set group layout to be used for keyboards. More... | |
EAPI void | elput_input_pointer_accel_profile_set (Elput_Manager *manager, const char *seat, uint32_t profile) |
Set the pointer acceleration profile. More... | |
EAPI void | elput_input_pointer_accel_speed_set (Elput_Manager *manager, const char *seat, double speed) |
Set the pointer acceleration speed. More... | |
EAPI Eina_Bool | elput_touch_drag_enabled_set (Elput_Device *device, Eina_Bool enabled) |
Enable or disable tap-and-drag on this device. More... | |
EAPI Eina_Bool | elput_touch_drag_enabled_get (Elput_Device *device) |
Get if tap-and-drag is enabled on this device. More... | |
EAPI Eina_Bool | elput_touch_drag_lock_enabled_set (Elput_Device *device, Eina_Bool enabled) |
Enable or disable drag-lock during tapping on a device. More... | |
EAPI Eina_Bool | elput_touch_drag_lock_enabled_get (Elput_Device *device) |
Get if drag-lock is enabled on this device. More... | |
EAPI Eina_Bool | elput_touch_dwt_enabled_set (Elput_Device *device, Eina_Bool enabled) |
Enable or disable touchpad dwt (disable-while-typing) feature. More... | |
EAPI Eina_Bool | elput_touch_dwt_enabled_get (Elput_Device *device) |
Get if touchpad dwt (disable-while-typing) is enabled. More... | |
EAPI Eina_Bool | elput_touch_scroll_method_set (Elput_Device *device, int method) |
Set the scroll method used for this device. More... | |
EAPI int | elput_touch_scroll_method_get (Elput_Device *device) |
Get the current scroll method set on a device. More... | |
EAPI Eina_Bool | elput_touch_click_method_set (Elput_Device *device, int method) |
Set the button click method for a device. More... | |
EAPI int | elput_touch_click_method_get (Elput_Device *device) |
Get the current button click method for a device. More... | |
EAPI Eina_Bool | elput_touch_tap_enabled_set (Elput_Device *device, Eina_Bool enabled) |
Enable or disable tap-to-click on a given device. More... | |
EAPI Eina_Bool | elput_touch_tap_enabled_get (Elput_Device *device) |
Get if tap-to-click is enabled on a given device. More... | |
EAPI Elput_Seat * | elput_device_seat_get (const Elput_Device *dev) |
Get the seat object for a device. More... | |
EAPI Elput_Device_Caps | elput_device_caps_get (const Elput_Device *dev) |
Get the caps for a device. More... | |
EAPI Eina_Stringshare * | elput_device_output_name_get (Elput_Device *device) |
Return the output name associated with a given device. More... | |
EAPI const Eina_List * | elput_seat_devices_get (const Elput_Seat *seat) |
Get the list of devices on a given seat. More... | |
EAPI Eina_Stringshare * | elput_seat_name_get (const Elput_Seat *seat) |
Get the name of a given seat. More... | |
EAPI Elput_Manager * | elput_seat_manager_get (const Elput_Seat *seat) |
Get the manager of a given seat. More... | |
EAPI double | elput_swipe_dx_get (Elput_Swipe_Gesture *gesture) |
Get the difference of x position from the last event to this event. More... | |
EAPI double | elput_swipe_dy_get (Elput_Swipe_Gesture *gesture) |
Get the difference of y position from the last event to this event. More... | |
EAPI int | elput_swipe_finger_count_get (Elput_Swipe_Gesture *gesture) |
Get the finger_count for this gesture. More... | |
EAPI int | elput_swipe_window_get (Elput_Swipe_Gesture *gesture) |
Get the window in which this event is emitted. More... | |
EAPI Elput_Device * | elput_swipe_device_get (Elput_Swipe_Gesture *gesture) |
Get the device from which the gesture event is coming. More... | |
Variables | |
EAPI int | ELPUT_EVENT_SEAT_CAPS |
EAPI int | ELPUT_EVENT_SEAT_FRAME |
EAPI int | ELPUT_EVENT_MODIFIERS_SEND |
EAPI int | ELPUT_EVENT_DEVICE_CHANGE |
EAPI int | ELPUT_EVENT_SESSION_ACTIVE |
EAPI int | ELPUT_EVENT_POINTER_MOTION |
EAPI int | ELPUT_EVENT_SWITCH |
EAPI int | ELPUT_EVENT_SWIPE_BEGIN |
A swipe gesture has began. More... | |
EAPI int | ELPUT_EVENT_SWIPE_UPDATE |
There is a change to a ongoing swipe gesture. More... | |
EAPI int | ELPUT_EVENT_SWIPE_END |
A ongoing swipe gesture has ended. More... | |
Ecore functions for dealing with libinput.
typedef struct Elput_Event_Pointer_Motion Elput_Event_Pointer_Motion |
typedef struct _Elput_Event_Switch Elput_Event_Switch |
enum Elput_Switch_Type |
enum Elput_Switch_State |
|
extern |
|
extern |