mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
input: only unregister devices if there is no other handler registered
Also center mouse if a new device was added
This commit is contained in:
parent
657acc90e4
commit
21c03b74b6
3 changed files with 48 additions and 27 deletions
|
|
@ -99,6 +99,7 @@ private:
|
|||
|
||||
#ifdef _WIN32
|
||||
void register_raw_input_devices();
|
||||
void unregister_raw_input_devices();
|
||||
bool m_registered_raw_input_devices = false;
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue