mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-14 15:00:30 +02:00
Some work towards better control handling, includes stickyfix from native
This commit is contained in:
1 parent
33abcdafd6
commit
afa21588d7
15 files changed
+49
-31
No files matched your search
@@ -129,10 +129,10 @@ void WindowsHost::SetDebugMode(bool mode)
|
||||
}
|
||||
|
||||
|
||||
void WindowsHost::BeginFrame()
|
||||
void WindowsHost::PollControllers(InputState &input_state)
|
||||
{
|
||||
for (auto iter = this->input.begin(); iter != this->input.end(); iter++)
|
||||
if ((*iter)->UpdateState() == 0)
|
||||
if ((*iter)->UpdateState(input_state) == 0)
|
||||
break; // *iter is std::shared_ptr, **iter is InputDevice
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user