mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-11 20:11:18 +03:00
WIP Android SDL
This commit is contained in:
committed by
iProgramInCpp
parent
811bc7a6fa
commit
0559f66102
@@ -22,7 +22,7 @@ ControllerTurnInput::ControllerTurnInput()
|
||||
|
||||
TurnDelta ControllerTurnInput::getTurnDelta()
|
||||
{
|
||||
#ifdef __ANDROID__
|
||||
#if defined(ANDROID) && !defined(USE_SDL)
|
||||
return TurnDelta(Controller::getX(m_stickNo) * 50.f, Controller::getY(m_stickNo) * 60.f);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user