summaryrefslogtreecommitdiffhomepage
path: root/.gitignore
diff options
context:
space:
mode:
authorDenis Pobedrya <[email protected]>2022-09-18 20:58:52 +0300
committerGitHub <[email protected]>2022-09-18 19:58:52 +0200
commit8f597b3cc379258215cb6cbdedada7e8389ad1df (patch)
treedd263e015911c48b7d075645ddf0d1132ed08a68 /.gitignore
parentff25402f689113da07f0077354f32073fc070c2e (diff)
downloadraylib-8f597b3cc379258215cb6cbdedada7e8389ad1df.tar.gz
raylib-8f597b3cc379258215cb6cbdedada7e8389ad1df.zip
Basic gamepad support for Android (#2709)
Currently assumes a single gamepad, has no code specific to gamepad detection (gamepad is "detected" when an event related to gamepad arrives). Also assumes that all gamepads look roughly like an xbox/ps controller. Both assumptions are not strictly true, but an implementation like that probably covers 85% of usecases. Also it doesn't update previousButtonState so functions IsGamepadButtonPressed() and IsGamepadButtonReleased() don't work, but they didn't work previously on Android anyway, and they are flaky on desktop as they are now, so the mechanism for these two functions probably should be reworked anyway. It's certainly an improvement compared to the previous android gamepad handling code, which put gamepad events into touch related structs.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions