Log in

View Full Version : Dual analog controller


ArchVince
19-02-2011, 14:53
Alright, I was wondering if I could use a USB dual analog controller we have. I've been using the Joystick class thus far, but to my knowledge it allows only three axis of movement to be recorded. Is there a different class I should be using, or is there a way to do it with the Joystick class?

Thanks.

Robby Unruh
19-02-2011, 15:08
Take a look at Joystick.GetRawAxis(int).

You'll have to find the axis' number yourself VIA run->joy.cpl

ArchVince
19-02-2011, 15:22
Time for testing : D Thanks for the help.

EDIT: I added in the new code. It works perfectly. Thanks for the help!