[Linux/MacOS] Further Wiimote changes for parity with Windows (#945)

This commit is contained in:
capitalistspz 2023-08-31 01:29:12 +00:00 committed by GitHub
parent d8b9a74d86
commit 5e84862e28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 23 additions and 19 deletions

View file

@ -976,7 +976,7 @@ void InputSettings2::on_controller_settings(wxCommandEvent& event)
case InputAPI::Keyboard: break;
#if BOOST_OS_WINDOWS
#ifdef SUPPORTS_WIIMOTE
case InputAPI::Wiimote: {
const auto wiimote = std::dynamic_pointer_cast<NativeWiimoteController>(controller);
wxASSERT(wiimote);