2014-05-09 02:28:47 -07:00
|
|
|
#ifdef E_TYPEDEFS
|
|
|
|
#else
|
|
|
|
# ifndef E_COMP_WL_INPUT_H
|
|
|
|
# define E_COMP_WL_INPUT_H
|
|
|
|
|
2015-09-28 12:51:51 -07:00
|
|
|
E_API extern int E_EVENT_TEXT_INPUT_PANEL_VISIBILITY_CHANGE;
|
2015-08-20 11:55:14 -07:00
|
|
|
|
|
|
|
typedef struct _E_Event_Text_Input_Panel_Visibility_Change E_Event_Text_Input_Panel_Visibility_Change;
|
|
|
|
|
|
|
|
struct _E_Event_Text_Input_Panel_Visibility_Change
|
|
|
|
{
|
|
|
|
Eina_Bool visible;
|
|
|
|
};
|
|
|
|
|
2015-05-18 06:08:52 -07:00
|
|
|
EINTERN Eina_Bool e_comp_wl_input_init(void);
|
|
|
|
EINTERN void e_comp_wl_input_shutdown(void);
|
2014-05-09 02:28:47 -07:00
|
|
|
EINTERN Eina_Bool e_comp_wl_input_pointer_check(struct wl_resource *res);
|
|
|
|
EINTERN Eina_Bool e_comp_wl_input_keyboard_check(struct wl_resource *res);
|
2015-05-13 09:26:07 -07:00
|
|
|
EINTERN Eina_Bool e_comp_wl_input_touch_check(struct wl_resource *res);
|
2014-05-09 02:28:47 -07:00
|
|
|
|
2015-07-22 14:46:39 -07:00
|
|
|
EINTERN Eina_Bool e_comp_wl_input_keyboard_modifiers_serialize(void);
|
2015-05-18 06:08:52 -07:00
|
|
|
EINTERN void e_comp_wl_input_keyboard_modifiers_update(void);
|
|
|
|
EINTERN void e_comp_wl_input_keyboard_state_update(uint32_t keycode, Eina_Bool pressed);
|
2015-03-20 12:21:39 -07:00
|
|
|
EINTERN void e_comp_wl_input_keyboard_enter_send(E_Client *client);
|
2014-05-09 02:28:47 -07:00
|
|
|
|
2015-12-11 10:29:36 -08:00
|
|
|
EINTERN void e_comp_wl_input_keyboard_modifers_clear(void);
|
|
|
|
|
2015-05-13 09:05:57 -07:00
|
|
|
E_API void e_comp_wl_input_pointer_enabled_set(Eina_Bool enabled);
|
|
|
|
E_API void e_comp_wl_input_keyboard_enabled_set(Eina_Bool enabled);
|
|
|
|
E_API void e_comp_wl_input_touch_enabled_set(Eina_Bool enabled);
|
2014-05-09 02:28:47 -07:00
|
|
|
|
2016-01-25 16:06:57 -08:00
|
|
|
E_API void e_comp_wl_input_keymap_set(const char *rules, const char *model, const char *layout, const char *variant, const char *options);
|
2014-05-09 02:28:47 -07:00
|
|
|
|
2016-01-20 09:38:22 -08:00
|
|
|
E_API void e_comp_wl_input_keyboard_event_generate(const char *key, int mods, Eina_Bool up);
|
2014-05-09 02:28:47 -07:00
|
|
|
# endif
|
|
|
|
#endif
|