input/qt: allow to map mouse buttons in the guncon config

This commit is contained in:
Megamouse 2024-05-20 14:43:17 +02:00
parent 5a08ae4f41
commit 32a938abd2
15 changed files with 479 additions and 111 deletions

View file

@ -1113,7 +1113,7 @@ void gui_application::OnAppStateChanged(Qt::ApplicationState state)
bool gui_application::native_event_filter::nativeEventFilter([[maybe_unused]] const QByteArray& eventType, [[maybe_unused]] void* message, [[maybe_unused]] qintptr* result)
{
#ifdef _WIN32
if (!Emu.IsRunning())
if (!Emu.IsRunning() && !g_raw_mouse_handler)
{
return false;
}