mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 06:53:43 +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();
|
||||
}
|
||||
}
|
||||
|
@@ -4,6 +4,7 @@
|
||||
#include "BitmapImage.cpp"
|
||||
#include "ByteSwap.cpp"
|
||||
#include "CFileStream.cpp"
|
||||
#include "CompositeRenderedFont.cpp"
|
||||
#include "DeflateCodec.cpp"
|
||||
#include "DialogManager.cpp"
|
||||
#include "DisplayDeviceManager.cpp"
|
||||
|
Reference in New Issue
Block a user