1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 07:42:17 +00:00
mpv/input
wm4 18930ba7dd input, lua: add functions to take pre-split input commands
So you can pass a command as list of strings (each item is an argument),
instead of having to worry about escaping and such.

These functions also take an argument for the default command flags. In
particular, this allows setting saner defaults for commands sent by
program code.

Expose this to Lua as mp.send_commandv command (suggestions for a better
name welcome). The Lua version doesn't allow setting the default command
flags, but it can still use command prefixes. The default flags are
different from input.conf, and disable OSD and property expansion.
2013-12-20 18:01:04 +01:00
..
input.c input, lua: add functions to take pre-split input commands 2013-12-20 18:01:04 +01:00
input.h input, lua: add functions to take pre-split input commands 2013-12-20 18:01:04 +01:00
joystick.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
joystick.h Move mpvcore/input/ to input/ 2013-12-17 01:23:09 +01:00
keycodes.h Move mpvcore/input/ to input/ 2013-12-17 01:23:09 +01:00
lirc.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
lirc.h Move mpvcore/input/ to input/ 2013-12-17 01:23:09 +01:00