0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00
mpv/player
wm4 3e1aed8f40 input: add key name to script-binding command response
The "script-binding" command is used by the Lua scripting wrapper to
register key bindings on the fly. It's also the only way to get fine-
grained information about key events (such as separate key up/down
events). This information is sent via a "key-binding" message when the
state of a key changes.

Extend it to send name of the mapped key itself. Previously, it was
assumed that the user just uses an unique identifier for the binding's
name, so it wasn't needed. With this change, a user can map exactly the
same command to multiple keys, which is useful especially with the next
commit.

Part of #2612.
2015-12-23 19:10:48 +01:00
..
lua ytdl: disable --all-subs if "sub-lang" is in raw-options 2015-10-24 17:30:22 +02:00
audio.c player: use demuxer ts offset to simplify timeline ts handling 2015-11-16 23:17:33 +01:00
client.c client API: disallow masking MPV_EVENT_SHUTDOWN 2015-12-02 23:08:43 +01:00
client.h vo_opengl_cb: don't render OSD while VO is not created 2015-03-23 16:32:59 +01:00
command.c input: add key name to script-binding command response 2015-12-23 19:10:48 +01:00
command.h video: always re-probe auto deint filter on filter reconfig 2015-07-21 21:54:15 +02:00
configfiles.c command: make time properties unavailable if timestamp is unknown 2015-10-16 16:16:10 +02:00
core.h player: minor simplification 2015-12-23 15:49:20 +01:00
external_files.c external_files: deduplicate bstr functions 2015-11-09 22:41:19 -08:00
external_files.h player: rename and move find_subfiles.c 2015-09-20 18:05:06 +02:00
loadfile.c player: minor simplification 2015-12-23 15:49:20 +01:00
lua.c osd: delay libass initialization as far as possible 2015-09-07 14:26:01 +02:00
main.c options: handle terminal/logging settings eagerly 2015-11-04 21:49:54 +01:00
misc.c win32: don't show progress indicator in idle mode 2015-11-23 19:50:13 +11:00
osd.c osd: do not let OSD messages overwrite --osd-msgN text 2015-11-29 17:56:08 +01:00
playloop.c video: switch from using display aspect to sample aspect 2015-12-19 20:45:36 +01:00
screenshot.c video: switch from using display aspect to sample aspect 2015-12-19 20:45:36 +01:00
screenshot.h client API: add a screenshot_raw command 2015-04-20 23:11:03 +02:00
scripting.c path: make mp_path_join accept normal C strings 2015-05-09 15:26:47 +02:00
sub.c sub: remove unused video width/height headers 2015-12-18 03:59:52 +01:00
video.c video: switch from using display aspect to sample aspect 2015-12-19 20:45:36 +01:00