I am creating a program which needs two analog inputs from a hardware device (i.e. two variable resistors). I am convinced the easiest way to do this is through the joystick interface using the x and y co-ordinates.
The question is, how do I read the joystick port?
(or is there an easier way to read analog inputs)