You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
[3.x] HTML5: Add support for Input.vibrate_handheld()
This commit is contained in:
@@ -992,6 +992,10 @@ bool OS_JavaScript::can_draw() const {
|
||||
return true; // Always?
|
||||
}
|
||||
|
||||
void OS_JavaScript::vibrate_handheld(int p_duration_ms) {
|
||||
godot_js_input_vibrate_handheld(p_duration_ms);
|
||||
}
|
||||
|
||||
String OS_JavaScript::get_user_data_dir() const {
|
||||
return "/userfs";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user