mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
[macOS] Process joypad input directly in the embedded process.
This commit is contained in:
parent
cb850f7719
commit
b9bafbd2ca
8 changed files with 12 additions and 71 deletions
|
|
@ -1263,6 +1263,11 @@ void OS_MacOS_Embedded::run() {
|
|||
@try {
|
||||
ds->process_events();
|
||||
|
||||
#ifdef SDL_ENABLED
|
||||
if (joypad_sdl) {
|
||||
joypad_sdl->process_events();
|
||||
}
|
||||
#endif
|
||||
if (Main::iteration()) {
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue