#define D kconfig->conf_edd
E_CONFIG_VAL(D, T, num_keycode, INT);
E_CONFIG_VAL(D, T, max_keycode, INT);
+ E_CONFIG_VAL(D, T, pictureoff_disabled, INT);
E_CONFIG_LIST(D, T, KeyList, kconfig->conf_hwkeys_edd);
#undef T
e_keyrouter_conf_init(kconfig);
EINA_SAFETY_ON_NULL_GOTO(kconfig->conf, err);
krt->conf = kconfig;
+ krt->pictureoff_disabled = !!kconfig->conf->pictureoff_disabled;
e_keyrouter_key_combination_init();
/* Add filtering mechanism */
krt->ef_handler = ecore_event_filter_add(NULL, _event_filter, NULL, NULL);
//ecore handler add for power callback registration
- ecore_idle_enterer_add(_e_keyrouter_cb_idler, NULL);
+ if (!krt->pictureoff_disabled)
+ ecore_idle_enterer_add(_e_keyrouter_cb_idler, NULL);
_e_keyrouter_init_handlers();
krt->global = wl_global_create(e_comp_wl->wl.disp, &tizen_keyrouter_interface, 1, krt, _e_keyrouter_cb_bind);
{
int num_keycode;
int max_keycode;
+ int pictureoff_disabled;
Eina_List *KeyList;
};
cynara *p_cynara;
#endif
int isPictureOffEnabled;
+ Eina_Bool pictureoff_disabled;
Eina_Bool isRegisterDelivery;
};