mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Windows input optimizations
Fixes a bug where the thread wouldn't sleep when it should in some configurations. Also increases the time between polls for new controllers.
This commit is contained in:
1 parent
593e0fd8d9
commit
82069c3503
5 files changed
+7
-8
No files matched your search
@@ -201,9 +201,8 @@ int XinputDevice::UpdateState() {
|
||||
}
|
||||
}
|
||||
|
||||
// If we get XInput, skip the others. This might not actually be a good idea,
|
||||
// and was done to avoid conflicts between DirectInput and XInput.
|
||||
return 0; // anySuccess ? UPDATESTATE_SKIP_PAD : 0;
|
||||
// Previously we returned SKIP_PAD here but it wasn't a good idea.
|
||||
return UPDATESTATE_NORMAL;
|
||||
}
|
||||
|
||||
void XinputDevice::ReleaseAllKeys(int pad) {
|
||||
|
||||
Reference in new issue
Block a user