mirror of
https://github.com/love2d/love-android.git
synced 2026-08-19 04:05:22 +02:00
updated to latest SDL2 (f9244b2a151)
This commit is contained in:
@@ -53,7 +53,9 @@ main(int argc, char *argv[])
|
||||
exit(1);
|
||||
}
|
||||
|
||||
/*
|
||||
//SDL_CreateWindow("Dummy", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 128, 128, 0);
|
||||
*/
|
||||
|
||||
SDL_Log("There are %d joysticks at startup\n", SDL_NumJoysticks());
|
||||
if (enable_haptic)
|
||||
@@ -121,7 +123,9 @@ main(int argc, char *argv[])
|
||||
}
|
||||
break;
|
||||
case SDL_JOYAXISMOTION:
|
||||
/*
|
||||
// SDL_Log("Axis Move: %d\n", event.jaxis.axis);
|
||||
*/
|
||||
if (enable_haptic)
|
||||
SDL_HapticRumblePlay(haptic, 0.25, 250);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user