Hi, new to the games list...
Is this the best strategy for continually accessing game pad input...?
Create a thread & in its run handler, use code similar to the following...
while x < 1000 // infinite loop
mFireButton=mManager.WaitForElement(10)
If mFireButton <> Nil and mFireButton.name ="Button #7" then
//do button 7 stuff
End if
If mFireButton <> Nil and mFireButton.name ="Button #8" then
//do button 8 stuff
End if
wend // infinite loop
TIA,
Michael
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|