-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In-Game: [Android] Connected controllers/gamepads status does not update unless the app is re-focused #5329
Closed
2 tasks done
Comments
YYBartT
added a commit
to YoYoGames/GameMaker-Manual
that referenced
this issue
May 3, 2024
YoYoGames/GameMaker-Bugs#5329 * Added function reference page * Some small changes on the related gamepad pages
Documented the function |
gurpreetsinghmatharoo
added a commit
to YoYoGames/GameMaker-Manual
that referenced
this issue
May 9, 2024
* develop.bart: docs(feature): added documentation for physics_raycast YoYoGames/GameMaker-Bugs#2762 docs(feature): documented gamepad_enumerate YoYoGames/GameMaker-Bugs#5329 docs(feature): skeleton_animation_clear optional parameters YoYoGames/GameMaker-Bugs#1570 docs(feature): documented dbg_view_exists and dbg_section_exists YoYoGames/GameMaker-Bugs#4931 docs(feature): documented dbg_view_exists and dbg_section_exists YoYoGames/GameMaker-Bugs#4931 docs(feature): YoYoGames/GameMaker-Bugs#1570 docs(general): mentioned that any attached files are uploaded privately docs(feature): smaller custom format screenshot YoYoGames/GameMaker-Bugs#5495 docs(feature): documented the new dbg_text_separator function YoYoGames/GameMaker-Bugs#4998 docs(feature): Switch to the docking branch of imgui YoYoGames/GameMaker-Bugs#4905 docs(general): document OS and audio device limitations when using audio YoYoGames/GameMaker-Bugs#5580 docs(feature): Add an option to specify "step" in the ImGUI slider control YoYoGames/GameMaker-Bugs#2971 # Conflicts: # Manual/contents/GameMaker_Language/GML_Reference/Asset_Management/Audio/audio_sound_length.htm # Manual/contents/GameMaker_Language/GML_Reference/Debugging/dbg_slider.htm # Manual/contents/GameMaker_Language/GML_Reference/Debugging/dbg_slider_int.htm
Only just seeing this one now, because coincidentally I was looking into why 2024.8 and 2024.11 don't do the Async System event for gamepads found/lost on Android. Have now verified this all works correctly in 2024.11 and added an updated sample to show how to achieve both methods of getting pad changes. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When connecting, turning on, or turning off a controller or other Bluetooth device to an Android device, GameMaker is only able to accurately update the list whenever the game loses and regains focus (such as when going to the home screen and re-opening the game from the background apps); the list does not update in real time. This makes controller disconnections impossible to detect, for instance.
This affects both VM and YYC compiling. The sample project was tested on Google Pixel 5A and Samsung Galaxy S22, but the general issue seems to affect most, if not all, Android devices.
Sample project with contact us package: Controller Test.zip
Expected Change
Android games are able to detect when a controller connects or disconnects to the device in real time.
Steps To Reproduce
How reliably can you recreate this issue using your steps above?
Always
Which version of GameMaker are you reporting this issue for?
2024.2.0 (Monthly)
Which platform(s) are you seeing the problem on?
Android
Contact Us Package Attached?
Sample Project Added?
The text was updated successfully, but these errors were encountered: