mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
Fix gamepads not working, enable on Android
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
|
||||
#include "PLDrivers.h"
|
||||
#include "IGpDisplayDriver.h"
|
||||
#include "IGpInputDriver.h"
|
||||
|
||||
|
||||
namespace PortabilityLayer
|
||||
@@ -13,5 +14,9 @@ namespace PortabilityLayer
|
||||
{
|
||||
PLDrivers::GetDisplayDriver()->ServeTicks(ticks);
|
||||
DisplayDeviceManager::GetInstance()->IncrementTickCount(ticks);
|
||||
|
||||
const size_t numInputDrivers = PLDrivers::GetNumInputDrivers();
|
||||
for (size_t i = 0; i < numInputDrivers; i++)
|
||||
PLDrivers::GetInputDriver(i)->ProcessInput();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user