summaryrefslogtreecommitdiff
path: root/src/fe-common/core/keyboard.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-common/core/keyboard.h')
-rw-r--r--src/fe-common/core/keyboard.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fe-common/core/keyboard.h b/src/fe-common/core/keyboard.h
index 6c41fbfd..f3cc4d1a 100644
--- a/src/fe-common/core/keyboard.h
+++ b/src/fe-common/core/keyboard.h
@@ -29,6 +29,12 @@ void key_configure_remove(const char *key);
KEYINFO_REC *key_info_find(const char *id);
int key_pressed(const char *key, void *data);
+#define ENTRY_REDIRECT_FLAG_HOTKEY 0x01
+#define ENTRY_REDIRECT_FLAG_HIDDEN 0x02
+
+void keyboard_entry_redirect(SIGNAL_FUNC func, const char *entry,
+ int flags, void *data);
+
void keyboard_init(void);
void keyboard_deinit(void);