core/hid: Ensure only valid npad are connected
This commit is contained in:
parent
e482dd82b9
commit
7fe455e42e
8 changed files with 156 additions and 97 deletions
|
@ -1516,6 +1516,9 @@ void GMainWindow::ShutdownGame() {
|
|||
input_subsystem->GetTas()->Stop();
|
||||
OnTasStateChanged();
|
||||
|
||||
// Enable all controllers
|
||||
system->HIDCore().SetSupportedStyleTag({Core::HID::NpadStyleSet::All});
|
||||
|
||||
render_window->removeEventFilter(render_window);
|
||||
render_window->setAttribute(Qt::WA_Hover, false);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue