mirror of
https://github.com/godotengine/godot.git
synced 2025-11-03 15:11:19 +00:00
Rename some more global enums (Key, Joy, MIDI)
This commit is contained in:
parent
10d7fccb54
commit
a5324787c8
27 changed files with 366 additions and 366 deletions
|
|
@ -416,7 +416,7 @@ void WebXRInterfaceJS::_update_tracker(int p_controller_id) {
|
|||
int *axes = godot_webxr_get_controller_axes(p_controller_id);
|
||||
if (axes) {
|
||||
for (int i = 0; i < axes[0]; i++) {
|
||||
Input::JoyAxis joy_axis;
|
||||
Input::JoyAxisValue joy_axis;
|
||||
joy_axis.min = -1;
|
||||
joy_axis.value = *((float *)axes + (i + 1));
|
||||
input->joy_axis(p_controller_id + 100, i, joy_axis);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue