mirror of
https://github.com/godotengine/godot.git
synced 2025-10-25 18:54:43 +00:00
renamed joystick to joypad everywhere around source code!
This commit is contained in:
parent
6323779596
commit
547a57777b
49 changed files with 416 additions and 416 deletions
|
|
@ -519,7 +519,7 @@ bool OS_JavaScript::main_loop_iterate() {
|
|||
|
||||
|
||||
}
|
||||
process_joysticks();
|
||||
process_joypads();
|
||||
return Main::iteration();
|
||||
}
|
||||
|
||||
|
|
@ -824,7 +824,7 @@ void OS_JavaScript::_close_notification_funcs(const String& p_file,int p_flags)
|
|||
}
|
||||
}
|
||||
|
||||
void OS_JavaScript::process_joysticks() {
|
||||
void OS_JavaScript::process_joypads() {
|
||||
|
||||
int joy_count = emscripten_get_num_gamepads();
|
||||
for (int i = 0; i < joy_count; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue