Game Development Community

Binding to a gamepad's second analog stick.

by Sangwoo Hong · in Torque Game Engine · 10/19/2004 (11:20 pm) · 1 replies

I'd like to bind commands to my gamepad's second analog stick but I have no idea how to refer to it in the binding call.

For instance,

moveMap.bind(gamepad0, "yaxis", movebackward)

lets me use the left analog stick on my gamepad to move foward and back. I would like to use my second analog stick to "mouselook" but I don't know what to put in instead of "yaxis" to get at that value. Anyone have any idea?

#1
06/22/2006 (5:00 am)
Try "thumbry" instead "yaxis". If you want to override mouselook function you may refer to $mvYAxis_R and $mvXAxis_R instead of $mvYaw or $mvPitch.