We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6c3af9 commit be1d442Copy full SHA for be1d442
src/sensor/emscripten/SDL_emscriptensensor.c
@@ -67,7 +67,7 @@ static void SDL_EMSCRIPTEN_GyroscopeCallback(const EmscriptenDeviceMotionEvent *
67
SDL_sensors[1].new_data = true;
68
}
69
70
-static int SDL_EMSCRIPTEN_SensorCallback(int event_type, const EmscriptenDeviceMotionEvent *event, void *user_data)
+static EM_BOOL SDL_EMSCRIPTEN_SensorCallback(int event_type, const EmscriptenDeviceMotionEvent *event, void *user_data)
71
{
72
SDL_EMSCRIPTEN_AccelerometerCallback(event);
73
SDL_EMSCRIPTEN_GyroscopeCallback(event);
0 commit comments