Change-Id: I5460cb2b6a860eaf8e5e1fbf3527e69c3fdad751
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
return ECORE_CALLBACK_PASS_ON;
/* Don't handle Volume and Channel keys */
- if (type == ECORE_EVENT_KEY_UP) {
- Evas_Event_Key_Up *ev;
+ if (type == ECORE_EVENT_KEY_DOWN) {
+ Evas_Event_Key_Down *ev;
if (!event)
return ECORE_CALLBACK_PASS_ON;
Ecore_Event_Handler *ev;
int i;
int event_type[] = {
- ECORE_EVENT_KEY_UP,
+ ECORE_EVENT_KEY_DOWN,
ECORE_EVENT_MOUSE_BUTTON_DOWN,
ECORE_EVENT_MOUSE_BUTTON_UP,
ECORE_EVENT_MOUSE_MOVE,
priv = data;
- if (type == ECORE_EVENT_KEY_UP) {
- Evas_Event_Key_Up *ev;
+ if (type == ECORE_EVENT_KEY_DOWN) {
+ Evas_Event_Key_Down *ev;
if (!ei)
return ECORE_CALLBACK_PASS_ON;