}
EINTERN char *
-e_keyrouter_hardkeys_keycode_name_get(E_Keyrouter_Grabbed_Key *hardkeys,
+e_keyrouter_hardkeys_keyname_get(E_Keyrouter_Grabbed_Key *hardkeys,
uint32_t keycode)
{
EINA_SAFETY_ON_NULL_RETURN_VAL(hardkeys, NULL);
return hardkeys[keycode].keyname;
}
+EINTERN Eina_Bool
+e_keyrouter_hardkeys_no_privcheck_get(E_Keyrouter_Grabbed_Key *hardkeys,
+ uint32_t keycode)
+{
+ EINA_SAFETY_ON_NULL_RETURN_VAL(hardkeys, EINA_FALSE);
+
+ return hardkeys[keycode].no_privcheck;
+}
+
+EINTERN Eina_Bool
+e_keyrouter_hardkeys_repeat_get(E_Keyrouter_Grabbed_Key *hardkeys,
+ uint32_t keycode)
+{
+ EINA_SAFETY_ON_NULL_RETURN_VAL(hardkeys, EINA_FALSE);
+
+ return hardkeys[keycode].repeat;
+}
+
EINTERN Eina_Bool
e_keyrouter_hardkeys_client_available(E_Keyrouter_Grabbed_Key *hardkeys, uint32_t keycode, struct wl_client *client, uint32_t mode)
{
EINTERN void e_keyrouter_hardkeys_destroy(E_Keyrouter_Grabbed_Key *hardkeys);
EINTERN Eina_Bool e_keyrouter_hardkeys_prepend(E_Keyrouter_Grabbed_Key *hardkeys, E_Keyrouter_Key_List_Node *keynode, uint32_t keycode, uint32_t mode);
-EINTERN Eina_List **e_keyrouter_hardkeys_get_list(E_Keyrouter_Grabbed_Key *hardkeys, uint32_t keycode, uint32_t mode);
EINTERN Eina_Bool e_keyrouter_hardkeys_grabbed(E_Keyrouter_Grabbed_Key *hardkeys, uint32_t keycode);
EINTERN Eina_Bool e_keyrouter_hardkeys_keycode_available(E_Keyrouter_Grabbed_Key *hardkeys, uint32_t keycode);
EINTERN void e_keyrouter_hardkeys_remove_keynode_with_surface(E_Keyrouter_Grabbed_Key *hardkeys, uint32_t keycode, uint32_t mode, void *surface);
EINTERN void e_keyrouter_hardkeys_remove_keynode_with_client(E_Keyrouter_Grabbed_Key *hardkeys, uint32_t keycode, uint32_t mode, void *client);
-EINTERN char *e_keyrouter_hardkeys_keycode_name_get(E_Keyrouter_Grabbed_Key *hardkeys, uint32_t keycode);
+
+EINTERN Eina_List **e_keyrouter_hardkeys_get_list(E_Keyrouter_Grabbed_Key *hardkeys, uint32_t keycode, uint32_t mode);
+EINTERN char *e_keyrouter_hardkeys_keyname_get(E_Keyrouter_Grabbed_Key *hardkeys, uint32_t keycode);
+EINTERN Eina_Bool e_keyrouter_hardkeys_no_privcheck_get(E_Keyrouter_Grabbed_Key *hardkeys, uint32_t keycode);
+EINTERN Eina_Bool e_keyrouter_hardkeys_repeat_get(E_Keyrouter_Grabbed_Key *hardkeys, uint32_t keycode);
EINTERN Eina_Bool e_keyrouter_hardkeys_client_available(E_Keyrouter_Grabbed_Key *hardkeys, uint32_t keycode, struct wl_client *client, uint32_t mode);
EINTERN Eina_Bool e_keyrouter_hardkeys_surface_available(E_Keyrouter_Grabbed_Key *hardkeys, uint32_t keycode, struct wl_resource *surface, uint32_t mode);