diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-08-21 21:10:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-21 21:10:22 +0200 |
commit | 1a4dbd9ee2fd471108dc4d217aacab74cf412925 (patch) | |
tree | 2563d9aa95cd5b9d5a1a15c76664df2e5d333be5 /core/os/os.cpp | |
parent | e132c36261e832b7b461d97909bf15786acc85ba (diff) | |
parent | 4061e5bb75cf4ad338cd077713946711cd7c70ea (diff) | |
download | redot-engine-1a4dbd9ee2fd471108dc4d217aacab74cf412925.tar.gz |
Merge pull request #31437 from volzhs/vibrate-mobile
Support vibration for Android and iOS
Diffstat (limited to 'core/os/os.cpp')
-rw-r--r-- | core/os/os.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/os/os.cpp b/core/os/os.cpp index 0d7d150914..7531900480 100644 --- a/core/os/os.cpp +++ b/core/os/os.cpp @@ -186,6 +186,11 @@ int OS::get_process_id() const { return -1; }; +void OS::vibrate_handheld(int p_duration_ms) { + + WARN_PRINTS("vibrate_handheld() only works with Android and iOS"); +} + bool OS::is_stdout_verbose() const { return _verbose_stdout; |