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 /modules/gdnative/include | |
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 'modules/gdnative/include')
-rw-r--r-- | modules/gdnative/include/nativearvr/godot_nativearvr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdnative/include/nativearvr/godot_nativearvr.h b/modules/gdnative/include/nativearvr/godot_nativearvr.h index 1a8970d396..a4f4d6a9f1 100644 --- a/modules/gdnative/include/nativearvr/godot_nativearvr.h +++ b/modules/gdnative/include/nativearvr/godot_nativearvr.h @@ -70,6 +70,7 @@ void GDAPI godot_arvr_remove_controller(godot_int p_controller_id); void GDAPI godot_arvr_set_controller_transform(godot_int p_controller_id, godot_transform *p_transform, godot_bool p_tracks_orientation, godot_bool p_tracks_position); void GDAPI godot_arvr_set_controller_button(godot_int p_controller_id, godot_int p_button, godot_bool p_is_pressed); void GDAPI godot_arvr_set_controller_axis(godot_int p_controller_id, godot_int p_axis, godot_real p_value, godot_bool p_can_be_negative); +godot_real GDAPI godot_arvr_get_controller_rumble(godot_int p_controller_id); #ifdef __cplusplus } |