You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-19 14:31:59 +00:00
Android: Include Joysticks/Gamepads which are available on app start.
This commit is contained in:
@@ -251,6 +251,10 @@ int OS_Android::get_mouse_button_state() const {
|
||||
}
|
||||
|
||||
void OS_Android::set_window_title(const String &p_title) {
|
||||
//This queries/updates the currently connected devices/joypads
|
||||
//Set_window_title is called when initializing the main loop (main.cpp)
|
||||
//therefore this place is found to be suitable (I found no better).
|
||||
godot_java->init_input_devices();
|
||||
}
|
||||
|
||||
void OS_Android::set_video_mode(const VideoMode &p_video_mode, int p_screen) {
|
||||
|
||||
Reference in New Issue
Block a user