mpv/input
wm4 c418aa3807 ipc: allow sending commands with named arguments
This has been part of the libmpv for a while, so the implementation in
the IPC code is quite simple: just pass the mpv_node representing the
value of the "command" field without further checks to
mpv_command_node().

The only problem are the IPC-specific commands, which essentially have
their own dispatch mechanism. They expect an array. I'm not going to
rewrite the dispatch mechanism, so these still work only with an array.
I decided make the other case explicit with cmd==NULL. (I could also
have set cmd=="", which would have avoided changing each if condition
since "" matches no existing command, but that felt dirty.)
2020-02-24 00:31:46 +01:00
..
cmd.c input: log commands with parameter names 2020-02-19 16:25:18 +01:00
cmd.h command: reduce OSC/stats log spam 2019-12-19 12:52:13 +01:00
event.c input: ignore empty lines on drag-drop mime data 2019-09-21 15:39:47 +02:00
event.h input/event.h: add include guard 2016-03-15 22:44:15 +01:00
input.c stream, demux: redo origin policy thing 2019-12-20 13:00:39 +01:00
input.h scripting: add a way to run sub processes as "scripts" 2020-02-19 22:18:15 +01:00
ipc-dummy.c scripting: add a way to run sub processes as "scripts" 2020-02-19 22:18:15 +01:00
ipc-unix.c scripting: add a way to run sub processes as "scripts" 2020-02-19 22:18:15 +01:00
ipc-win.c scripting: add a way to run sub processes as "scripts" 2020-02-19 22:18:15 +01:00
ipc.c ipc: allow sending commands with named arguments 2020-02-24 00:31:46 +01:00
keycodes.c input: add new PLAYONLY and PAUSEONLY MP_KEY key codes 2020-01-26 12:09:55 +01:00
keycodes.h input: add new PLAYONLY and PAUSEONLY MP_KEY key codes 2020-01-26 12:09:55 +01:00
pipe-win32.c osdep: rename atomics.h to atomic.h 2016-09-07 11:26:25 +02:00
sdl_gamepad.c sdl: prevent concurrent use of SDL in different threads 2019-10-25 22:17:54 +02:00