diff options
| author | raysan5 <[email protected]> | 2019-08-27 12:22:54 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2019-08-27 12:22:54 +0200 |
| commit | 41732bebe8bd048cb44e5b6a24f8e2cbd8af7120 (patch) | |
| tree | b435ffdd6c25c1d16cb5693bdca13703940a5de8 /src/core.c | |
| parent | e2183f0b9968d9cbff0cce9db63dda2c5c96fb32 (diff) | |
| download | raylib-41732bebe8bd048cb44e5b6a24f8e2cbd8af7120.tar.gz raylib-41732bebe8bd048cb44e5b6a24f8e2cbd8af7120.zip | |
Formatting tweak
Diffstat (limited to 'src/core.c')
| -rw-r--r-- | src/core.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4293,8 +4293,8 @@ static EM_BOOL EmscriptenGamepadCallback(int eventType, const EmscriptenGamepadE eventType != 0? emscripten_event_type_to_string(eventType) : "Gamepad state", gamepadEvent->timestamp, gamepadEvent->connected, gamepadEvent->index, gamepadEvent->numAxes, gamepadEvent->numButtons, gamepadEvent->id, gamepadEvent->mapping); - for(int i = 0; i < gamepadEvent->numAxes; ++i) TraceLog(LOG_DEBUG, "Axis %d: %g", i, gamepadEvent->axis[i]); - for(int i = 0; i < gamepadEvent->numButtons; ++i) TraceLog(LOG_DEBUG, "Button %d: Digital: %d, Analog: %g", i, gamepadEvent->digitalButton[i], gamepadEvent->analogButton[i]); + for (int i = 0; i < gamepadEvent->numAxes; ++i) TraceLog(LOG_DEBUG, "Axis %d: %g", i, gamepadEvent->axis[i]); + for (int i = 0; i < gamepadEvent->numButtons; ++i) TraceLog(LOG_DEBUG, "Button %d: Digital: %d, Analog: %g", i, gamepadEvent->digitalButton[i], gamepadEvent->analogButton[i]); */ if ((gamepadEvent->connected) && (gamepadEvent->index < MAX_GAMEPADS)) gamepadReady[gamepadEvent->index] = true; |
