Implement amplitude to Input.vibrate_handheld
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> Co-authored-by: m4gr3d <m4gr3d@users.noreply.github.com>
This commit is contained in:
@@ -174,7 +174,7 @@ void OS_Web::add_frame_delay(bool p_can_draw) {
|
||||
#endif
|
||||
}
|
||||
|
||||
void OS_Web::vibrate_handheld(int p_duration_ms) {
|
||||
void OS_Web::vibrate_handheld(int p_duration_ms, float p_amplitude) {
|
||||
godot_js_input_vibrate_handheld(p_duration_ms);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user