KeyCurrentState


Regards Henk

PS: Check the sample sources from PalmSource. There is a small game called reptoids? which shows you how to do this and other stuff.

SEAn wrote:
it is hard to figure them out. and i have tried but failed to check both press at the same time.


----- Original Message ----- From: "Giovanni Fischetti" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[email protected]>
Sent: Wednesday, March 23, 2005 3:38 AM
Subject: How to detect more than 1 key pressed at the same time




Hello,

I'm writing a game, and I found the way to manage both hard keys and 5-way 
navigation buttons.
But I don't know how to check Left direction (i.e.) and hardkey1 pressed at the 
same time (like a spaceship that while moving left is shooting using hardkey1). 
I'm not able to detect both keys together.
How should I act?

Thanks,
Giovanni
--
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/


--
-------------------------------------------------------------------------
  Henk Jonas                                            [EMAIL PROTECTED]
  Palm OS Â certified developer

  Please contact me, if you need an off-side contract worker.
-------------------------------------------------------------------------

--
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to