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:
parent
4e9543d849
commit
789c6ebdfd
17 changed files with 132 additions and 35 deletions
|
|
@ -746,8 +746,8 @@ ANativeWindow *OS_Android::get_native_window() const {
|
|||
#endif
|
||||
}
|
||||
|
||||
void OS_Android::vibrate_handheld(int p_duration_ms) {
|
||||
godot_java->vibrate(p_duration_ms);
|
||||
void OS_Android::vibrate_handheld(int p_duration_ms, float p_amplitude) {
|
||||
godot_java->vibrate(p_duration_ms, p_amplitude);
|
||||
}
|
||||
|
||||
String OS_Android::get_config_path() const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue