(Menu) Refactor input_autodetect_enable