mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Start the ctrl latch off all just released.
This commit is contained in:
parent
b93c4f636c
commit
7edb340577
1 changed files with 3 additions and 0 deletions
|
@ -149,6 +149,9 @@ void sceCtrlInit()
|
|||
std::lock_guard<std::recursive_mutex> guard(ctrlMutex);
|
||||
|
||||
memset(&latch, 0, sizeof(latch));
|
||||
// Start with everything released.
|
||||
latch.btnRelease = 0xffffffff;
|
||||
|
||||
memset(&ctrl, 0, sizeof(ctrl));
|
||||
ctrl.analog[0] = 128;
|
||||
ctrl.analog[1] = 128;
|
||||
|
|
Loading…
Add table
Reference in a new issue