Merge pull request #851 from kiroukou/patch-11
Fix the IOS Accelerometer which wasn't fully linked to lime
This commit is contained in:
@@ -55,7 +55,7 @@ namespace lime {
|
||||
|
||||
void SDLJoystick::Init () {
|
||||
|
||||
#if defined(IOS) || defined(ANDROID) || defined(TVOS)
|
||||
#if defined(IPHONE) || defined(ANDROID) || defined(TVOS)
|
||||
for (int i = 0; i < SDL_NumJoysticks (); i++) {
|
||||
|
||||
if (strstr (SDL_JoystickNameForIndex (i), "Accelerometer")) {
|
||||
|
||||
Reference in New Issue
Block a user