diff options
author | Bastiaan Olij <mux213@gmail.com> | 2017-11-04 08:57:25 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-04 08:57:25 +1100 |
commit | 25c38c75425e3ccfcaed53ebd38fc588d6f35764 (patch) | |
tree | 88e3af7d757376132705070db18afe26731cae3b /scene/3d/arvr_nodes.h | |
parent | acd193b62e3972d6dd1e4b2aa115948658f85e9b (diff) | |
parent | 167b7b55338761e3cb48677219d41f5bfc32c839 (diff) |
Merge pull request #12557 from BastiaanOlij/arvr_add_rumble_support
Adding rumble support to ARVR controllers
Diffstat (limited to 'scene/3d/arvr_nodes.h')
-rw-r--r-- | scene/3d/arvr_nodes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/3d/arvr_nodes.h b/scene/3d/arvr_nodes.h index e0ccfab58b..6e940351f2 100644 --- a/scene/3d/arvr_nodes.h +++ b/scene/3d/arvr_nodes.h @@ -89,6 +89,9 @@ public: int is_button_pressed(int p_button) const; float get_joystick_axis(int p_axis) const; + real_t get_rumble() const; + void set_rumble(real_t p_rumble); + bool get_is_active() const; ARVRPositionalTracker::TrackerHand get_hand() const; |