What I want to do is use the analogue sticks on my xbox 360 controller as jog wheels to control sample players. I.e. when I rotate the sticks at their outer edge, a clockwise motion plays the files forwards, counterclockwise backwards, the faster the rotation, the faster sample plays etc etc.
To do this I want to take the x and y values from the sticks and convert them into a single linear value. I'm sure there's an obvious solution to this, but I can't see one.
Any ideas guys?