Add input+controller driver under input settings

This commit is contained in:
sonninnos 2025-05-29 00:42:08 +03:00
parent c9bc941830
commit 686c7997bc
2 changed files with 50 additions and 52 deletions

View File

@ -1602,7 +1602,7 @@ MSG_HASH(
)
MSG_HASH(
MENU_ENUM_SUBLABEL_INPUT_DRIVER,
"Input driver to use. Some video drivers force a different input driver."
"Input driver to use. Some video drivers force a different input driver. (Restart required)"
)
MSG_HASH(
MENU_ENUM_LABEL_HELP_INPUT_DRIVER_UDEV,

View File

@ -8174,6 +8174,8 @@ unsigned menu_displaylist_build_list(
{MENU_ENUM_LABEL_INPUT_BLOCK_TIMEOUT, PARSE_ONLY_UINT, true},
#endif
{MENU_ENUM_LABEL_INPUT_POLL_TYPE_BEHAVIOR, PARSE_ONLY_UINT, true},
{MENU_ENUM_LABEL_INPUT_DRIVER, PARSE_ONLY_STRING_OPTIONS, true},
{MENU_ENUM_LABEL_JOYPAD_DRIVER, PARSE_ONLY_STRING_OPTIONS, true},
};
for (i = 0; i < ARRAY_SIZE(build_list); i++)
@ -11474,10 +11476,6 @@ unsigned menu_displaylist_build_list(
{MENU_ENUM_LABEL_AUDIO_DRIVER, PARSE_ONLY_STRING_OPTIONS},
#ifdef HAVE_MICROPHONE
{MENU_ENUM_LABEL_MICROPHONE_DRIVER, PARSE_ONLY_STRING_OPTIONS},
#endif
#if 0
/* This is better suited under audio options only */
{MENU_ENUM_LABEL_AUDIO_RESAMPLER_DRIVER,PARSE_ONLY_STRING_OPTIONS},
#endif
{MENU_ENUM_LABEL_INPUT_DRIVER, PARSE_ONLY_STRING_OPTIONS},
{MENU_ENUM_LABEL_JOYPAD_DRIVER, PARSE_ONLY_STRING_OPTIONS},