• Post Reply Bookmark Topic Watch Topic
  • New Topic

problem in keyPressed

 
madan singh
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am working for samsungx430 and when i press left key in game it store key values i.e if i press leftkey(left DPAD)5 times and then press right key continuously it move graphics object in left direction 5 times after that it move right but what i want is to move object only 2 times left and then right. Please tell me how to flush stored key values.

Thanks
mad
 
Koh Khai Huat
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear madan singh,

could you please tell us more on wad u wan to do??? thanks

regards
Khai Huat
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!