summaryrefslogtreecommitdiffstats
path: root/input/input.h
diff options
context:
space:
mode:
authorulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-04 10:42:59 +0000
committerulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-04 10:42:59 +0000
commita986e2a1f68b1145d51f9b63c70cd0df9731e950 (patch)
tree873b487166057476f47ed6c0915ee6717ace6d22 /input/input.h
parentfe27bf007ba98da826eb146404eea09610aecf23 (diff)
downloadmpv-a986e2a1f68b1145d51f9b63c70cd0df9731e950.tar.bz2
mpv-a986e2a1f68b1145d51f9b63c70cd0df9731e950.tar.xz
Remove hardcoded key->cmd bindings in libmenu, support custom key bindings
by menu config file. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25291 b3059339-0415-0410-9bf9-f77b7e298cf2
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.