Fixed spinning at a very high framerate
diff --git a/test/testjoystick.c b/test/testjoystick.c
index db9a3a1..91d02de 100644
--- a/test/testjoystick.c
+++ b/test/testjoystick.c
@@ -259,6 +259,7 @@ loop(void *arg)
}
}
+ SDL_Delay(16);
SDL_RenderPresent(screen);
#ifdef __EMSCRIPTEN__