mirror of
https://github.com/mpv-player/mpv
synced 2024-08-20 08:55:06 +02:00
input: use OPT_REPLACED for an old option alias
This commit is contained in:
parent
7614f2b3a6
commit
f519887fe7
@ -186,12 +186,12 @@ const struct m_sub_options input_config = {
|
|||||||
OPT_INTRANGE("key-fifo-size", key_fifo_size, CONF_GLOBAL, 2, 65000),
|
OPT_INTRANGE("key-fifo-size", key_fifo_size, CONF_GLOBAL, 2, 65000),
|
||||||
OPT_FLAG("cursor", enable_mouse_movements, CONF_GLOBAL),
|
OPT_FLAG("cursor", enable_mouse_movements, CONF_GLOBAL),
|
||||||
OPT_FLAG("vo-keyboard", vo_key_input, CONF_GLOBAL),
|
OPT_FLAG("vo-keyboard", vo_key_input, CONF_GLOBAL),
|
||||||
OPT_FLAG("x11-keyboard", vo_key_input, CONF_GLOBAL), // old alias
|
|
||||||
#if HAVE_COCOA
|
#if HAVE_COCOA
|
||||||
OPT_FLAG("appleremote", use_appleremote, CONF_GLOBAL),
|
OPT_FLAG("appleremote", use_appleremote, CONF_GLOBAL),
|
||||||
OPT_FLAG("media-keys", use_media_keys, CONF_GLOBAL),
|
OPT_FLAG("media-keys", use_media_keys, CONF_GLOBAL),
|
||||||
OPT_FLAG("app-events", use_app_events, CONF_GLOBAL),
|
OPT_FLAG("app-events", use_app_events, CONF_GLOBAL),
|
||||||
#endif
|
#endif
|
||||||
|
OPT_REPLACED("x11-keyboard", "input-vo-keyboard"),
|
||||||
{0}
|
{0}
|
||||||
},
|
},
|
||||||
.size = sizeof(struct input_opts),
|
.size = sizeof(struct input_opts),
|
||||||
|
Loading…
Reference in New Issue
Block a user