Reading a joystick's (Logitech, Extreme 3D PRO with USB) position, throttle position, and button status using Visual C++ 6.0
Posted on 2006-11-16
I have a Logitech joystick; model "Extreme 3D PRO." The joystick connects by way of USB port on my PC. My programming environment is Visual C++ 6.0. I would like to read the joystick's exact position from C++ code. The joystick profiler that came with the joystick will only translate joystick buttons and control changes into single or multiple keystrokes. The profiler’s keystroke method only gives me a repeated key in one of four joystick directions, so using the profiler will not do what I need. Is there a public domain C++ library that can help me read the buttons, the POV, the throttle, and especially the joystick position, so I can simultaneously move a 2 axis gimbal in the appropriate direction?