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 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_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...
|
|
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_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_pointer_rotation_set()
EAPI Eina_Bool elput_input_pointer_rotation_set |
( |
Elput_Manager * |
manager, |
|
|
int |
rotation |
|
) |
| |
Set pointer value rotation.
- Parameters
-
- Returns
- EINA_TRUE on success, EINA_FALSE otherwise
- Since
- 1.20
◆ 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_info_set()
EAPI void elput_input_keyboard_info_set |
( |
Elput_Manager * |
manager, |
|
|
void * |
context, |
|
|
void * |
keymap, |
|
|
int |
group |
|
) |
| |
Set info to be used for keyboards.
- Parameters
-
manager | |
context | |
keymap | |
group | |
- Since
- 1.20
◆ elput_input_keyboard_group_set()
EAPI void elput_input_keyboard_group_set |
( |
Elput_Manager * |
manager, |
|
|
int |
group |
|
) |
| |
Set group layout to be used for keyboards.
- Parameters
-
- Since
- 1.20
◆ elput_input_pointer_accel_profile_set()
EAPI void elput_input_pointer_accel_profile_set |
( |
Elput_Manager * |
manager, |
|
|
const char * |
seat, |
|
|
uint32_t |
profile |
|
) |
| |
Set the pointer acceleration profile.
- Parameters
-
- Since
- 1.19