x


How to find Joystick Axis?

I'm currently using a USB controller and I'm trying to figure out a way to measure / find the exact axis a Joystick is at.

For example I want to Measure weather the Joystick is more left then right if(Input.GetKey(KeyCode.JoystickButton7)){

// find out weather it's left or right

I know from windows calibration default is set to 127,127 so how can I measure that??? any help greatly appreciated thanks...

more ▼

asked Apr 04 '12 at 10:03 AM

zackary gravatar image

zackary
1 1 1 2

Apr 04 '12 at 04:19 PM Statement ♦♦
(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x526
x323
x218
x33
x22

asked: Apr 04 '12 at 10:03 AM

Seen: 688 times

Last Updated: Apr 04 '12 at 04:19 PM