diff options
| author | bunnei <bunneidev@gmail.com> | 2021-12-04 23:08:43 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-04 23:08:43 -0800 |
| commit | 60e923046e07657f7bbae4b0342efad6c3641252 (patch) | |
| tree | 0527ae35ff85e56adc4201d3e3204ec53bfeddb6 /src/yuzu/main.cpp | |
| parent | e482dd82b9a071fbd633252f42b2bb4c05fb9b5f (diff) | |
| parent | 7fe455e42ea1a8d5e702258212d54f21f1f31610 (diff) | |
Merge pull request #7503 from german77/is_npad_valid
core/hid: Ensure only valid npad are connected
Diffstat (limited to 'src/yuzu/main.cpp')
| -rw-r--r-- | src/yuzu/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index f266fd963..5a9dec8f3 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -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); |
