summaryrefslogtreecommitdiff
path: root/modules/gdnative
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2020-05-13 18:27:34 -0400
committerAaron Franke <arnfranke@yahoo.com>2021-03-23 07:13:23 -0400
commita5324787c80ebc55b123ab19db2b23404b1241ec (patch)
treea2e06d3fe9c9d0388d3d6803ff6a343a80fa9f80 /modules/gdnative
parent10d7fccb549a743a867b92f12a6d64717c45ba86 (diff)
Rename some more global enums (Key, Joy, MIDI)
Diffstat (limited to 'modules/gdnative')
-rw-r--r--modules/gdnative/xr/xr_interface_gdnative.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdnative/xr/xr_interface_gdnative.cpp b/modules/gdnative/xr/xr_interface_gdnative.cpp
index 5bbf70174c..1d5a9d98f8 100644
--- a/modules/gdnative/xr/xr_interface_gdnative.cpp
+++ b/modules/gdnative/xr/xr_interface_gdnative.cpp
@@ -398,7 +398,7 @@ void GDAPI godot_xr_set_controller_axis(godot_int p_controller_id, godot_int p_a
if (tracker != nullptr) {
int joyid = tracker->get_joy_id();
if (joyid != -1) {
- Input::JoyAxis jx;
+ Input::JoyAxisValue jx;
jx.min = p_can_be_negative ? -1 : 0;
jx.value = p_value;
input->joy_axis(joyid, p_axis, jx);