Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 22062, Joystick and USB

by CSS User Email: Anonymous


Set the default Joystick values.
Download Details
FTP  download also available 0 bytes
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 1.0  to 1.0 4 downloads
Copyright: No significant restrictions


Size: 0 bytes
Updated on Fri, 06 Aug 2004 05:51:12 GMT
Originally uploaded on Fri, 06 Aug 2004 05:49:11 GMT
Description
How do you set the default joystick values via a usb joystick. When the delphi app starts and reads the joystick via JoyGetPos it is setting it's self to some default value. It appears to be the movement of the button or stick that causes the operating system to read and thus populate the JoyInfo structure. I want to start with the joystick pushed over and a button depressed and actually detect this. Any ideas ?
In the old days I'd call the interrupt. Ive try'ed to force a windows message and have even considered somehow asking the USB controller to reset/reread.

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Server Response from: ETNACDC03