Functions that deal with setup of inputs.
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 const Eina_List * | elput_input_devices_get (Elput_Seat *seat) |
| Get the list of devices on a given seat. 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 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_cached_context_set (Elput_Manager *manager, void *context) |
| Set a cached context to be used for keyboards. More...
|
|
EAPI void | elput_input_keyboard_cached_keymap_set (Elput_Manager *manager, void *keymap) |
| Set a cached keymap to be used for keyboards. More...
|
|
EAPI Eina_Stringshare * | elput_input_device_output_name_get (Elput_Device *device) |
| Return the output name associated with a given device. More...
|
|
Functions that deal with setup of inputs.
◆ elput_input_init()
Initialize input.
- Parameters
-
- Returns
- EINA_TRUE on success, EINA_FALSE on failure
- Since
- 1.18
◆ elput_input_shutdown()
EAPI void elput_input_shutdown |
( |
Elput_Manager * |
manager | ) |
|
Shutdown input.
- Parameters
-
- Since
- 1.18
◆ elput_input_pointer_xy_get()
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.
- Parameters
-
- Since
- 1.18
◆ elput_input_pointer_xy_set()
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.
- Parameters
-
- Since
- 1.18
◆ elput_input_pointer_left_handed_set()
EAPI Eina_Bool elput_input_pointer_left_handed_set |
( |
Elput_Manager * |
manager, |
|
|
const char * |
seat, |
|
|
Eina_Bool |
left |
|
) |
| |
Set the pointer left-handed mode.
- Parameters
-
- Returns
- EINA_TRUE on success, EINA_FALSE otherwise
- Since
- 1.18
◆ elput_input_devices_get()
EAPI const Eina_List* elput_input_devices_get |
( |
Elput_Seat * |
seat | ) |
|
Get the list of devices on a given seat.
- Parameters
-
- Returns
- An Eina_List of existing Elput_Devices on a given seat or NULL on failure
- Since
- 1.18
◆ elput_input_pointer_max_set()
EAPI void elput_input_pointer_max_set |
( |
Elput_Manager * |
manager, |
|
|
int |
maxw, |
|
|
int |
maxh |
|
) |
| |
Set the maximum position of any existing mouse pointers.
- Parameters
-
- Since
- 1.18
◆ elput_input_devices_calibrate()
EAPI void elput_input_devices_calibrate |
( |
Elput_Manager * |
manager, |
|
|
int |
w, |
|
|
int |
h |
|
) |
| |
Calibrate input devices for given screen size.
- Parameters
-
- Since
- 1.18
◆ elput_input_key_remap_enable()
Enable key remap functionality.
- Parameters
-
- Returns
- EINA_TRUE on success, EINA_FALSE otherwise
- Since
- 1.18
◆ elput_input_key_remap_set()
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.
- Parameters
-
manager | |
from_keys | |
to_keys | |
num | |
- Returns
- EINA_TRUE on success, EINA_FALSE otherwise
- Since
- 1.18
◆ elput_input_keyboard_cached_context_set()
EAPI void elput_input_keyboard_cached_context_set |
( |
Elput_Manager * |
manager, |
|
|
void * |
context |
|
) |
| |
Set a cached context to be used for keyboards.
- Parameters
-
- Since
- 1.18
◆ elput_input_keyboard_cached_keymap_set()
EAPI void elput_input_keyboard_cached_keymap_set |
( |
Elput_Manager * |
manager, |
|
|
void * |
keymap |
|
) |
| |
Set a cached keymap to be used for keyboards.
- Parameters
-
- Since
- 1.18
◆ elput_input_device_output_name_get()
Return the output name associated with a given device.
- Parameters
-
- Returns
- An Eina_Stringshare of the output name for this device, or NULL on error
- Since
- 1.18