static Eina_Bool _clear_hide_timer();
static Ecore_Timer *_hide_timer = NULL;
-#ifndef ENABLE_HIDE_PANEL_KEY
static const char *_ecore_imf_event_empty = "";
-#endif
// TIZEN_ONLY(20150708): Support back key
#define BACK_KEY "XF86Back"
return EINA_FALSE;
}
-#ifndef ENABLE_HIDE_PANEL_KEY
static unsigned int
_ecore_key_modifiers_to_ecore_imf_locks(unsigned int modifiers)
{
imf_event->modifiers = _ecore_key_modifiers_to_ecore_imf_modifiers(ecore_event->modifiers);
imf_event->locks = _ecore_key_modifiers_to_ecore_imf_locks(ecore_event->modifiers);
}
-#endif
static Eina_Bool
key_down_filter_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
LOGD ("%s key is pressed.\n", ev->keyname);
-#ifdef ENABLE_HIDE_PANEL_KEY
- return EINA_FALSE; /* the event is removed from the queue */
-#else
Ecore_IMF_Event_Key_Down imf_event;
Eina_Bool filter_ret = EINA_FALSE;
#else
return EINA_FALSE; /* the event is removed from the queue */
#endif /* _TV */
-#endif /* ENABLE_HIDE_PANEL_KEY */
}
return EINA_TRUE; /* the event is kept */
}
LOGD ("%s key is released.\n", ev->keyname);
-#ifdef ENABLE_HIDE_PANEL_KEY
- ecore_imf_context_reset(active_ctx);
- _input_panel_hide(active_ctx, EINA_TRUE);
-
- return EINA_FALSE; /* the event is removed from the queue */
-#else
Ecore_IMF_Event_Key_Up imf_event;
Eina_Bool filter_ret = EINA_FALSE;
return EINA_FALSE; /* the event is removed from the queue */
#endif /* _TV */
}
-#endif /* ENABLE_HIDE_PANEL_KEY */
}
#ifdef _WEARABLE