I'm making a game with an 8 direction behaviour and I want the angle of my player to be set on the right stick y axis.
The idea would be to do "set angle : angle(0,0, gamepad.axis(0,2), gamepad.axis(0,3))"
Problem is I only have a dualshock 4 controller and while the gamepad.axis(0,2) refers correctly to the right stick x axis, the axis(0,3) refers to the L2 axis.
Does anyone know what index I should use? (I haven't found the R2 axis either but I'm not using it for now)