summaryrefslogtreecommitdiffhomepage
path: root/src/rcore_android.c
diff options
context:
space:
mode:
authorMichaelFiber <[email protected]>2023-10-14 16:51:35 -0400
committerGitHub <[email protected]>2023-10-14 22:51:35 +0200
commit18bedbd0952c27b0eb8bc5df0df4acf589cef181 (patch)
tree7a1d58bab8ce516593fdc033176fd896b0a59ee5 /src/rcore_android.c
parent781f7175308f0b708393b1135657aa191ca2b508 (diff)
downloadraylib-18bedbd0952c27b0eb8bc5df0df4acf589cef181.tar.gz
raylib-18bedbd0952c27b0eb8bc5df0df4acf589cef181.zip
[core] Change axisCount to be an array (#3421)
* Update `PLATFORM_DRM` implementation of `GetGamepadAxisCount` * Update * Update `PLATFORM_DRM` implementation of `GetGamepadName` * Add example to test gamepad info functions Fix typo * Update new gamepad info example * Move axis count update out of GamepadThread - race condition * Remove pointless if statement * Start integrating stuff from the mikesinput lib * Add more logging * Add semicolon * Add forgotten static * More fixes * Update axisCount to be array * More debugging * Add forgotten index to ready check * Add path logging * Missing parenthesis * Add missing slash * Fix axis count being reset to 0 * Fix missing paren * Test polling joystick button events * Major updates * Fix missing array index * Fix another missing array index * Update example * dumb logging * Wrong constant for ev.code handling * More dumb logging * Remove some logging * Add FPS to gamepad info example and try for max FPS * tweak * Revert example * Add fps back * Clean up after merge * Switch axisCount to be an array
Diffstat (limited to 'src/rcore_android.c')
-rw-r--r--src/rcore_android.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rcore_android.c b/src/rcore_android.c
index 4dc0e26c..98ce64a6 100644
--- a/src/rcore_android.c
+++ b/src/rcore_android.c
@@ -566,7 +566,7 @@ void PollInputEvents(void)
// Reset last gamepad button/axis registered state
CORE.Input.Gamepad.lastButtonPressed = 0; // GAMEPAD_BUTTON_UNKNOWN
- CORE.Input.Gamepad.axisCount = 0;
+ //CORE.Input.Gamepad.axisCount = 0;
// Register previous touch states
for (int i = 0; i < MAX_TOUCH_POINTS; i++) CORE.Input.Touch.previousTouchState[i] = CORE.Input.Touch.currentTouchState[i];