1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 01:22:30 +00:00
mpv/mpvcore/input
wm4 5318a1bea1 input: use separate type for command definitions
Introduce a mp_cmd_def struct to define commands, instead of using
mp_cmd for this. This way each command parameter can be a m_option,
instead of m_option plus some more stuff.

Define the ARG_ macros directly in terms of the OPT_ macros. Not sure if
this makes it easier to read (maybe not, even if it looks simpler), but
at least it makes it easier to add other option types.

Another idea was adding a name for each parameter (so you could have
named parameters), but not today.
2013-11-28 19:04:16 +01:00
..
input.c input: use separate type for command definitions 2013-11-28 19:04:16 +01:00
input.h input: use separate type for command definitions 2013-11-28 19:04:16 +01:00
joystick.c
joystick.h
keycodes.h osx: use MP_KEY_* instead of MK_* for media keys 2013-09-01 20:57:40 +02:00
lirc.c
lirc.h