summaryrefslogtreecommitdiffstats
path: root/input/input.h
diff options
context:
space:
mode:
Diffstat (limited to 'input/input.h')
-rw-r--r--input/input.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/input/input.h b/input/input.h
index 3dc7598f64..6ed71c4320 100644
--- a/input/input.h
+++ b/input/input.h
@@ -238,6 +238,9 @@ int mp_input_add_event_fd(int fd, void (*read_func)(void));
void mp_input_rm_event_fd(int fd);
+/// Get input key from its name.
+int mp_input_get_key_from_name(const char *name);
+
// This function can be used to put a command in the system again. It's used by libmpdemux
// when it performs a blocking operation to resend the command it received to the main
// loop.