mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 10:13:43 +01:00
Mouse input: Approximate the old smoothing function
This commit is contained in:
1 parent
7b0ee5440d
commit
d397635e49
4 files changed
+62
-32
No files matched your search
@@ -77,7 +77,7 @@ void WindowsInputManager::Init() {
|
||||
}
|
||||
|
||||
void WindowsInputManager::PollControllers() {
|
||||
static const int CHECK_FREQUENCY = 71;
|
||||
static const int CHECK_FREQUENCY = 71; // Just an arbitrary prime to try to not collide with other periodic checks.
|
||||
if (checkCounter_++ > CHECK_FREQUENCY) {
|
||||
#ifndef _M_ARM
|
||||
size_t newCount = DinputDevice::getNumPads();
|
||||
|
||||
Reference in new issue
Block a user