Quick and dirty way to read controller thumbsticks? (3.0.0+)

Is there a quick and dirty way to read left stick and right stick information on controller such as PS3 or xbox one? I’m trying to, with no luck, figure out how to get stick direction and how much its bent :<

In typical setups, this should work out of the box for the left stick (track the values of Input.GetAxis(“Horizontal”) and “Vertical”). The right stick you’ll have to setup in the input manager (edit->projectSettings->input). For the 360 controller, iirc you’re looking for axis 4 and 5 (axis 3 maps to the analog triggers).

Thanks for the reply!

I saddly still can’t get anything out of the controller. I have xbox 360 one plugged in and I’ve checked both joystick options for horizontal and vertical but I can’t get any life from there. With keyboard my controlling works, so if there’s something coming from controller it should too but none :<

edit: Also, excellent portfolio! Sweet stuff :slight_smile:

If you have Windows XP, Xbox 360 pads requires you install some exe.

I can’t manage to find an english version…