im facing a problem with key events.
in my game when i hold a key event has to occur only once.
i.e., when i press up key ball has to jump and come back to its positio but wat happens is when i hold the key its move up and up..
how to handle such problem
in my game im using DSA ...