summaryrefslogtreecommitdiffstats
path: root/input/input.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-11-23 00:39:07 +0100
committerwm4 <wm4@nowhere>2019-11-23 01:18:49 +0100
commitf379cf0bf89ca369e6cea957ef20e9e6579ec230 (patch)
treef69961fb3f6e23370d168d818a5db862949e43b6 /input/input.h
parent251069d9ea481c14e418a63bfb2a471314fd4764 (diff)
downloadmpv-f379cf0bf89ca369e6cea957ef20e9e6579ec230.tar.bz2
mpv-f379cf0bf89ca369e6cea957ef20e9e6579ec230.tar.xz
command, input: add input-bindings property
Read-only information about all bindings. Somewhat hoping someone can make a nice GUI-like overlay thing for it, which provides information about mapped keys.
Diffstat (limited to 'input/input.h')
-rw-r--r--input/input.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/input/input.h b/input/input.h
index bdbfda2dcb..df51cb7ed4 100644
--- a/input/input.h
+++ b/input/input.h
@@ -205,6 +205,8 @@ void mp_input_bind_key(struct input_ctx *ictx, int key, bstr command);
void mp_input_set_repeat_info(struct input_ctx *ictx, int rate, int delay);
+struct mpv_node mp_input_get_bindings(struct input_ctx *ictx);
+
void mp_input_pipe_add(struct input_ctx *ictx, const char *filename);
void mp_input_sdl_gamepad_add(struct input_ctx *ictx);