mpv/player
wm4 24fa69dbfa lua: add mechanism for script provided key bindings
There was already an undocumented mechanism provided by
mp.set_key_bindings and other functions, but this was relatively
verbose, and also weird. It was mainly to make the OSC happy (including
being efficient and supporting weird corner cases), while the new
functions try to be a bit simpler.

This also provides a way to let users rebind script-provided commands.

(This mechanism is less efficient, because it's O(n^2) for n added key
bindings, but it shouldn't matter.)
2014-02-17 02:52:58 +01:00
..
lua lua: add mechanism for script provided key bindings 2014-02-17 02:52:58 +01:00
timeline stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
audio.c player: fix an assert when reinitializing audio in some cases 2014-02-09 18:59:44 +01:00
client.c client API: add a client message event 2014-02-17 02:52:58 +01:00
client.h Add a client API 2014-02-10 21:01:35 +01:00
command.c client API: add a client message event 2014-02-17 02:52:58 +01:00
command.h lua: port to client API 2014-02-10 21:03:59 +01:00
configfiles.c player: load encoding-profiles.conf before the main config 2014-01-01 19:25:52 +01:00
core.h player: fix --force-window on OSX 2014-02-11 20:11:05 +01:00
dvdnav.c sub: uglify OSD code path with locking 2014-01-18 01:27:43 +01:00
loadfile.c lua: port to client API 2014-02-10 21:03:59 +01:00
lua.c lua: add mechanism for script provided key bindings 2014-02-17 02:52:58 +01:00
lua.h lua: port to client API 2014-02-10 21:03:59 +01:00
main.c player: fix --force-window on OSX 2014-02-11 20:11:05 +01:00
main_fn.c build: add option to build a library 2014-02-10 21:25:22 +01:00
misc.c player: redo terminal OSD and status line handling 2014-01-13 20:08:13 +01:00
osd.c options: add --no-terminal switch 2014-02-10 00:14:52 +01:00
playloop.c lua: port to client API 2014-02-10 21:03:59 +01:00
screenshot.c sub: uglify OSD code path with locking 2014-01-18 01:27:43 +01:00
screenshot.h
sub.c sub: uglify OSD code path with locking 2014-01-18 01:27:43 +01:00
video.c player: handle seek delays differently 2014-02-07 22:29:50 +01:00