Qt: use dedicated thread for getting input in the pad settings

This fixes the slow motion and rubber banding in the pad settings dialog while using HID handlers.
Previously everything was running on the main thread including the UI updates.
This meant that the poll rate was simply too slow and we were never up to date with the current data.
This commit is contained in:
Megamouse 2022-06-05 19:07:15 +02:00
parent 16381929ba
commit c4459dff40
3 changed files with 133 additions and 10 deletions

View file

@ -104,7 +104,7 @@ main_window::~main_window()
/* An init method is used so that RPCS3App can create the necessary connects before calling init (specifically the stylesheet connect).
* Simplifies logic a bit.
*/
bool main_window::Init(bool with_cli_boot)
bool main_window::Init([[maybe_unused]] bool with_cli_boot)
{
setAcceptDrops(true);