0 votes

There isn't an option for joystick press/release in the input map.
The joy button list covers all the buttons except for the joysticks. The joy axis list has loads of options however except for 'Axis 6 + (L2)' & 'Axis 7 + (R2)' there's no information of the axes below Axis 3 + so could it possibly be any of them?

the input code for the joystick presses is

Input.is_joy_button_pressed(0, 8) #Left joystick
Input.is_joy_button_pressed(0, 9) #Right joystick

but would this work for all controllers?

asked Dec 9, 2019 in Engine by Magso (2,851 points)

1 Answer

0 votes

It was quite self explanatory actually. They are in the joy button list 8 & 9 but they're called L3 and R3; not really a 'joystick' related name so I overlooked them thinking they were for support for some other controller that has a 3rd L + R (you never know these days).

answered Dec 9, 2019 by Magso (2,851 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.