At 1:52 PM +0200 8/31/05, Oliver Stoll (SoftwareDev) wrote:
Now here is the question - how can I make my application to poll at
least the three buttons and react on a button pressure (with
different reactions on each button) ? How can I find out if a user
pressed a button and which button ?
It sounds like you've already learned how to poll the available
GameInputDevices, and within those, iterate over the
GameInputElements.
So now it's a simple matter of storing the GameInputElements of
interest, and periodically checking their .Value property.
Best,
- Joe
--
Joe Strout REAL Software, Inc.
Vote for REALbasic (twice!) in the LinuxWorld Reader's Choice Awards:
http://linux.sys-con.com/general/readerschoice.htm
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|