James5863
asked on
Reading a joystick's (Logitech, Extreme 3D PRO with USB) position, throttle position, and button status using Visual C++ 6.0
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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://www.codeguru.com/cpp/g-m/directx/directinput/article.php/c1227/
-MAHESH