diff options
| author | raysan5 <[email protected]> | 2021-02-05 13:52:25 +0100 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2021-02-05 13:52:25 +0100 |
| commit | 97a7875648da0dd2ffdf9e7afa9a9e3e1ecd0553 (patch) | |
| tree | ca88830bc5644a83656ea521ffe3eb0b98372ece /src | |
| parent | 4407533a41f5b46fd9939d93e6cc711aa08b083a (diff) | |
| download | raylib-97a7875648da0dd2ffdf9e7afa9a9e3e1ecd0553.tar.gz raylib-97a7875648da0dd2ffdf9e7afa9a9e3e1ecd0553.zip | |
REVIEWED: Gamepad issues on Android
Diffstat (limited to 'src')
| -rw-r--r-- | src/core.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -450,12 +450,10 @@ typedef struct CoreData { struct { int lastButtonPressed; // Register last gamepad button pressed int axisCount; // Register number of available gamepad axis -#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_RPI) || defined(PLATFORM_DRM) || defined(PLATFORM_WEB) || defined(PLATFORM_UWP) bool ready[MAX_GAMEPADS]; // Flag to know if gamepad is ready float axisState[MAX_GAMEPADS][MAX_GAMEPAD_AXIS]; // Gamepad axis state char currentState[MAX_GAMEPADS][MAX_GAMEPAD_BUTTONS]; // Current gamepad buttons state char previousState[MAX_GAMEPADS][MAX_GAMEPAD_BUTTONS]; // Previous gamepad buttons state -#endif #if defined(PLATFORM_RPI) || defined(PLATFORM_DRM) pthread_t threadId; // Gamepad reading thread id int streamId[MAX_GAMEPADS]; // Gamepad device file descriptor |
