renamed joystick to joypad everywhere around source code!

This commit is contained in:
Juan Linietsky 2017-01-08 17:05:51 -03:00
parent 6323779596
commit 547a57777b
49 changed files with 416 additions and 416 deletions

View file

@ -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++) {