diff options
author | wm4 <wm4@nowhere> | 2015-03-24 15:53:36 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-03-24 16:04:44 +0100 |
commit | 1e659a9f0f3a3836912c66ab75b5af38e632ef12 (patch) | |
tree | 9b2774cde48b1b89b27df323fcf4c1c1ea6ea327 /input/input.c | |
parent | d5318e5e095f3ef831b5251b554ce790da3c40c7 (diff) | |
download | mpv-1e659a9f0f3a3836912c66ab75b5af38e632ef12.tar.bz2 mpv-1e659a9f0f3a3836912c66ab75b5af38e632ef12.tar.xz |
input: remove classic LIRC support
It's much easier to configure remotes as X11 input devices.
Diffstat (limited to 'input/input.c')
-rw-r--r-- | input/input.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/input/input.c b/input/input.c index 018a76fd43..b6719fc297 100644 --- a/input/input.c +++ b/input/input.c @@ -165,9 +165,6 @@ struct input_opts { int ar_rate; char *js_dev; int use_joystick; - int use_lirc; - char *lirc_configfile; - int use_lircc; int use_alt_gr; int use_appleremote; int use_media_keys; @@ -190,15 +187,11 @@ const struct m_sub_options input_config = { OPT_FLAG("test", test, CONF_GLOBAL), OPT_INTRANGE("doubleclick-time", doubleclick_time, 0, 0, 1000), OPT_FLAG("joystick", use_joystick, CONF_GLOBAL), - OPT_FLAG("lirc", use_lirc, CONF_GLOBAL), OPT_FLAG("right-alt-gr", use_alt_gr, CONF_GLOBAL), OPT_INTRANGE("key-fifo-size", key_fifo_size, CONF_GLOBAL, 2, 65000), OPT_FLAG("cursor", enable_mouse_movements, CONF_GLOBAL), OPT_FLAG("vo-keyboard", vo_key_input, CONF_GLOBAL), OPT_FLAG("x11-keyboard", vo_key_input, CONF_GLOBAL), // old alias -#if HAVE_LIRC - OPT_STRING("lirc-conf", lirc_configfile, CONF_GLOBAL), -#endif #if HAVE_COCOA OPT_FLAG("appleremote", use_appleremote, CONF_GLOBAL), OPT_FLAG("media-keys", use_media_keys, CONF_GLOBAL), @@ -212,7 +205,6 @@ const struct m_sub_options input_config = { .doubleclick_time = 300, .ar_delay = 200, .ar_rate = 40, - .use_lirc = 1, .use_alt_gr = 1, .enable_mouse_movements = 1, #if HAVE_COCOA @@ -1257,11 +1249,6 @@ void mp_input_load(struct input_ctx *ictx) mp_input_joystick_add(ictx, input_conf->js_dev); #endif -#if HAVE_LIRC - if (input_conf->use_lirc) - mp_input_lirc_add(ictx, input_conf->lirc_configfile); -#endif - if (input_conf->use_alt_gr) { ictx->using_alt_gr = true; } |