Functions that deal with setup of inputs. More...
Functions | |
| 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... | |
Functions that deal with setup of inputs.
Initialize input.
| manager |
References ecore_thread_feedback_run(), EINA_FALSE, EINA_SAFETY_ON_NULL_RETURN_VAL, EINA_SAFETY_ON_TRUE_RETURN_VAL, and EINA_TRUE.
Referenced by ecore_drm2_device_open().
| EAPI void elput_input_shutdown | ( | Elput_Manager * | manager | ) |
Shutdown input.
| manager |
References ecore_main_fd_handler_del(), ecore_thread_cancel(), EINA_LIST_FOREACH_SAFE, and EINA_SAFETY_ON_NULL_RETURN.
Referenced by ecore_drm2_device_close().
| 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.
| manager | |
| seat | |
| x | |
| y |
References EINA_LIST_FOREACH, EINA_SAFETY_ON_NULL_RETURN, and eina_streq().
Referenced by ecore_drm2_device_pointer_xy_get().
| 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.
| manager | |
| seat | |
| x | |
| y |
References ecore_loop_time_get(), eina_list_count(), EINA_LIST_FOREACH, and EINA_SAFETY_ON_NULL_RETURN.
Referenced by ecore_drm2_device_pointer_warp().
| EAPI Eina_Bool elput_input_pointer_left_handed_set | ( | Elput_Manager * | manager, |
| const char * | seat, | ||
| Eina_Bool | left | ||
| ) |
Set the pointer left-handed mode.
| manager | |
| seat | |
| left |
References EINA_FALSE, EINA_LIST_FOREACH, EINA_SAFETY_ON_NULL_RETURN_VAL, EINA_TRUE, and WRN.
Referenced by ecore_drm2_device_pointer_left_handed_set().
| EAPI void elput_input_pointer_max_set | ( | Elput_Manager * | manager, |
| int | maxw, | ||
| int | maxh | ||
| ) |
Set the maximum position of any existing mouse pointers.
| manager | |
| maxw | |
| maxh |
References EINA_SAFETY_ON_NULL_RETURN.
Referenced by ecore_drm2_device_pointer_max_set().
Set pointer value rotation.
| manager | |
| rotation |
References EINA_FALSE, EINA_LIST_FOREACH, and EINA_SAFETY_ON_NULL_RETURN_VAL.
Referenced by ecore_drm2_device_pointer_rotation_set().
| EAPI void elput_input_touch_tap_to_click_enabled_set | ( | Elput_Manager * | manager, |
| const char * | seat, | ||
| Eina_Bool | enabled | ||
| ) |
Set tap-to-click status.
| manager | |
| seat | |
| enabled |
References EINA_LIST_FOREACH, EINA_SAFETY_ON_NULL_RETURN, and WRN.
Referenced by ecore_drm2_device_touch_tap_to_click_enabled_set().
| EAPI void elput_input_devices_calibrate | ( | Elput_Manager * | manager, |
| int | w, | ||
| int | h | ||
| ) |
Calibrate input devices for given screen size.
| manager | |
| w | |
| h |
References EINA_LIST_FOREACH, and EINA_SAFETY_ON_NULL_RETURN.
Referenced by ecore_drm2_device_calibrate().
Enable key remap functionality.
| manager | |
| enable |
References EINA_FALSE, EINA_LIST_FOREACH, and EINA_SAFETY_ON_NULL_RETURN_VAL.
| 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.
| manager | |
| from_keys | |
| to_keys | |
| num |
References EINA_FALSE, EINA_LIST_FOREACH, EINA_SAFETY_ON_NULL_RETURN_VAL, and EINA_SAFETY_ON_TRUE_RETURN_VAL.
| EAPI void elput_input_keyboard_info_set | ( | Elput_Manager * | manager, |
| void * | context, | ||
| void * | keymap, | ||
| int | group | ||
| ) |
Set info to be used for keyboards.
| manager | |
| context | |
| keymap | |
| group |
References EINA_LIST_FOREACH, EINA_SAFETY_ON_FALSE_RETURN, and EINA_SAFETY_ON_NULL_RETURN.
Referenced by ecore_drm2_device_keyboard_info_set().
| EAPI void elput_input_keyboard_group_set | ( | Elput_Manager * | manager, |
| int | group | ||
| ) |
Set group layout to be used for keyboards.
| manager | |
| group |
References EINA_LIST_FOREACH, and EINA_SAFETY_ON_NULL_RETURN.
Referenced by ecore_drm2_device_keyboard_group_set().
| EAPI void elput_input_pointer_accel_profile_set | ( | Elput_Manager * | manager, |
| const char * | seat, | ||
| uint32_t | profile | ||
| ) |
Set the pointer acceleration profile.
| manager | |
| seat | |
| profile |
References EINA_LIST_FOREACH, EINA_SAFETY_ON_NULL_RETURN, and WRN.
Referenced by ecore_drm2_device_pointer_accel_profile_set().
| EAPI void elput_input_pointer_accel_speed_set | ( | Elput_Manager * | manager, |
| const char * | seat, | ||
| double | speed | ||
| ) |
Set the pointer acceleration speed.
| manager | |
| seat | |
| speed |
References EINA_LIST_FOREACH, EINA_SAFETY_ON_NULL_RETURN, and WRN.
Referenced by ecore_drm2_device_pointer_accel_speed_set().