mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +00:00
gui/input: let pad handlers know whether they are part of emulation
Also fix unique_ptr vs shared_ptr nonsense in pad_threads
This commit is contained in:
parent
fc698a4df2
commit
06025cd19d
26 changed files with 74 additions and 129 deletions
|
|
@ -69,7 +69,7 @@ class keyboard_pad_handler final : public QObject, public PadHandlerBase
|
|||
public:
|
||||
bool Init() override;
|
||||
|
||||
keyboard_pad_handler();
|
||||
keyboard_pad_handler(bool emulation);
|
||||
|
||||
void SetTargetWindow(QWindow* target);
|
||||
void processKeyEvent(QKeyEvent* event, bool pressed);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue