diff options
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; } |