mirror of
https://github.com/kichikuou/xsystem35-sdl2.git
synced 2026-10-12 00:58:27 +03:00
Android: Do not use accelerometer as a joystick
This commit is contained in:
+2
-1
@@ -129,7 +129,8 @@ void sdl_setWindowTitle(char *name) {
|
||||
|
||||
/* Visual に応じて Window を生成する */
|
||||
static void window_init(void) {
|
||||
|
||||
SDL_SetHint(SDL_HINT_ACCELEROMETER_AS_JOYSTICK, "0");
|
||||
|
||||
SDL_Init(SDL_INIT_VIDEO | SDL_INIT_JOYSTICK);
|
||||
|
||||
#ifdef __EMSCRIPTEN__
|
||||
|
||||
Reference in New Issue
Block a user