summaryrefslogtreecommitdiff
path: root/platform/javascript/os_javascript.h
diff options
context:
space:
mode:
authorpattlebass <49322676+pattlebass@users.noreply.github.com>2022-07-27 15:35:01 +0300
committerpattlebass <49322676+pattlebass@users.noreply.github.com>2022-07-27 22:54:41 +0300
commit130e715ab9a86c7363424e25df85e68ab52e85ec (patch)
tree2c2baae8a108b3ca39d20c50948923e3efe0b73b /platform/javascript/os_javascript.h
parent47edfa876908408828cd3b120b32e274d646ab8b (diff)
HTML5: Add support for `Input.vibrate_handheld()`
Diffstat (limited to 'platform/javascript/os_javascript.h')
-rw-r--r--platform/javascript/os_javascript.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/javascript/os_javascript.h b/platform/javascript/os_javascript.h
index 6900a34ee3..35e13c94fc 100644
--- a/platform/javascript/os_javascript.h
+++ b/platform/javascript/os_javascript.h
@@ -90,6 +90,8 @@ public:
// Implemented in javascript_main.cpp loop callback instead.
void add_frame_delay(bool p_can_draw) override {}
+ void vibrate_handheld(int p_duration_ms) override;
+
String get_cache_path() const override;
String get_config_path() const override;
String get_data_path() const override;