Qt/input: show all mmjoy devices with connection in dropdown

This fixes weird issues with disconnected pads while also showing the status.
This commit is contained in:
Megamouse 2024-01-13 23:36:07 +01:00
parent d7aedb439e
commit faaf644331
2 changed files with 2 additions and 1 deletions

View File

@ -385,7 +385,7 @@ PadHandlerBase::connection mm_joystick_handler::get_next_button_press(const std:
return connection::connected; return connection::connected;
} }
default: default:
break; return connection::disconnected;
} }
return connection::no_data; return connection::no_data;

View File

@ -1445,6 +1445,7 @@ void pad_settings_dialog::ChangeHandler()
{ {
#ifdef _WIN32 #ifdef _WIN32
case pad_handler::xinput: case pad_handler::xinput:
case pad_handler::mm:
#endif #endif
case pad_handler::ds3: case pad_handler::ds3:
case pad_handler::ds4: case pad_handler::ds4: