#include "e_scale_intern.h"
#include "e_comp_canvas_intern.h"
#include "e_comp_screen_intern.h"
+#include "e_comp_wl_input_intern.h"
#include "Eeze.h"
#include <tizen-extension-server-protocol.h>
#include "e_comp_screen_intern.h"
#include "e_comp_wl_capture_intern.h"
#include "e_comp_wl_data_intern.h"
+#include "e_comp_wl_input_intern.h"
#include <tizen-extension-server-protocol.h>
#include <relative-pointer-unstable-v1-server-protocol.h>
#define EXECUTIVE_MODE_ENABLED
#include "e.h"
#include "e_comp_wl_data_intern.h"
+#include "e_comp_wl_input_intern.h"
#include "e_comp_canvas_intern.h"
typedef struct {
#define EXECUTIVE_MODE_ENABLED
#include "e.h"
+#include "e_comp_wl_input_intern.h"
#include "e_utils_intern.h"
#include <sys/mman.h>
#ifdef E_TYPEDEFS
-#else
-# ifndef E_COMP_WL_INPUT_H
-# define E_COMP_WL_INPUT_H
E_API extern int E_EVENT_TEXT_INPUT_PANEL_VISIBILITY_CHANGE;
typedef struct _E_Event_Text_Input_Panel_Visibility_Change E_Event_Text_Input_Panel_Visibility_Change;
+#else
+#ifndef E_COMP_WL_INPUT_H
+#define E_COMP_WL_INPUT_H
+
struct _E_Event_Text_Input_Panel_Visibility_Change
{
Eina_Bool visible;
};
-EINTERN Eina_Bool e_comp_wl_input_init(void);
-EINTERN void e_comp_wl_input_shutdown(void);
-EINTERN Eina_Bool e_comp_wl_input_pointer_check(struct wl_resource *res);
-EINTERN Eina_Bool e_comp_wl_input_relative_pointer_check(struct wl_resource *res);
-EINTERN Eina_Bool e_comp_wl_input_keyboard_check(struct wl_resource *res);
-EINTERN Eina_Bool e_comp_wl_input_touch_check(struct wl_resource *res);
-
-EINTERN Eina_Bool e_comp_wl_input_keyboard_modifiers_serialize(void);
-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);
-EINTERN void e_comp_wl_input_keyboard_enter_send(E_Client *client);
-
-EINTERN void e_comp_wl_input_pointer_enabled_set(Eina_Bool enabled);
-EINTERN void e_comp_wl_input_keyboard_enabled_set(Eina_Bool enabled);
-EINTERN void e_comp_wl_input_touch_enabled_set(Eina_Bool enabled);
-EINTERN void e_comp_wl_input_seat_caps_set(unsigned int caps);
-
-E_API Eina_Bool e_comp_wl_input_keymap_cache_file_use_get(void);
+E_API Eina_Bool e_comp_wl_input_keymap_cache_file_use_get(void);
E_API Eina_Stringshare *e_comp_wl_input_keymap_path_get(struct xkb_rule_names names);
-EINTERN struct xkb_keymap *e_comp_wl_input_keymap_compile(struct xkb_context *ctx, struct xkb_rule_names names, char **keymap_path);
-E_API void e_comp_wl_input_keymap_set(const char *rules, const char *model, const char *layout, const char *variant, const char *options, struct xkb_context *dflt_ctx, struct xkb_keymap *dflt_map);
-
-EINTERN const char *e_comp_wl_input_keymap_default_rules_get(void);
-EINTERN const char *e_comp_wl_input_keymap_default_model_get(void);
-EINTERN const char *e_comp_wl_input_keymap_default_layout_get(void);
-EINTERN const char *e_comp_wl_input_keymap_default_variant_get(void);
-EINTERN const char *e_comp_wl_input_keymap_default_options_get(void);
-
-E_API void e_comp_wl_input_keyboard_repeat_set(int delay, int rate);
-
-E_API int e_comp_wl_input_keymap_keyname_to_keycode(const char * name);
-EINTERN char *e_comp_wl_input_keymap_keycode_to_keyname(int keycode);
+E_API void e_comp_wl_input_keymap_set(const char *rules, const char *model, const char *layout, const char *variant, const char *options, struct xkb_context *dflt_ctx, struct xkb_keymap *dflt_map);
+E_API int e_comp_wl_input_keymap_keyname_to_keycode(const char * name);
+E_API void e_comp_wl_input_keyboard_repeat_set(int delay, int rate);
E_API Eina_Bool e_comp_wl_input_pointer_constraint_activated_get(void);
# endif
--- /dev/null
+#ifndef E_COMP_WL_INPUT_INTERN_H
+#define E_COMP_WL_INPUT_INTERN_H
+
+EINTERN Eina_Bool e_comp_wl_input_init(void);
+EINTERN void e_comp_wl_input_shutdown(void);
+EINTERN Eina_Bool e_comp_wl_input_pointer_check(struct wl_resource *res);
+EINTERN Eina_Bool e_comp_wl_input_relative_pointer_check(struct wl_resource *res);
+EINTERN Eina_Bool e_comp_wl_input_keyboard_check(struct wl_resource *res);
+EINTERN Eina_Bool e_comp_wl_input_touch_check(struct wl_resource *res);
+
+EINTERN Eina_Bool e_comp_wl_input_keyboard_modifiers_serialize(void);
+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);
+EINTERN void e_comp_wl_input_keyboard_enter_send(E_Client *client);
+
+EINTERN void e_comp_wl_input_pointer_enabled_set(Eina_Bool enabled);
+EINTERN void e_comp_wl_input_keyboard_enabled_set(Eina_Bool enabled);
+EINTERN void e_comp_wl_input_touch_enabled_set(Eina_Bool enabled);
+EINTERN void e_comp_wl_input_seat_caps_set(unsigned int caps);
+
+EINTERN struct xkb_keymap *e_comp_wl_input_keymap_compile(struct xkb_context *ctx, struct xkb_rule_names names, char **keymap_path);
+
+EINTERN const char *e_comp_wl_input_keymap_default_rules_get(void);
+EINTERN const char *e_comp_wl_input_keymap_default_model_get(void);
+EINTERN const char *e_comp_wl_input_keymap_default_layout_get(void);
+EINTERN const char *e_comp_wl_input_keymap_default_variant_get(void);
+EINTERN const char *e_comp_wl_input_keymap_default_options_get(void);
+
+EINTERN char *e_comp_wl_input_keymap_keycode_to_keyname(int keycode);
+
+#endif
#include "e.h"
#include "e_input_private.h"
#include "e_comp_screen_intern.h"
+#include "e_comp_wl_input_intern.h"
#include <Ecore_Input_Evas.h>
-
#include <cpu-boosting.h>
#include <pthread.h>
#include "e_keyrouter.h"
#include "e_keyrouter_private.h"
#include "e_input_event.h"
+#include "e_comp_wl_input_intern.h"
#include <glib.h>
#include "e_keyrouter_private.h"
+#include "e_comp_wl_input_intern.h"
static void _e_keyrouter_send_key_events(int type, Ecore_Event_Key *ev, E_Device *dev);
static void _e_keyrouter_send_key_events_press(int type, Ecore_Event_Key *ev, E_Device *dev);
#include "e_keyrouter_private.h"
+#include "e_comp_wl_input_intern.h"
void
e_keyrouter_wl_event_surface_send(struct wl_resource *surface, int key, int mode)