05-22-2012 01:57 AM - edited 05-22-2012 12:11 PM
I just find the arrow keys are quite special when i use subclass of canvas to get player‘s action to draw image on the screen.
for common keys,if i press it and hold it for a while,the keyPress event has been occured but not the keyRelease event.
while,for a navigation key,say up,if i press it and hold it for a while,i find both keyPress event and keyRelease event have been occured automaticly for many times.
but i just want to invoke the keyReleased event by myself after i hold the arrow button for a while！
who can help me?
06-07-2012 03:22 PM
Are you developing a WebWorks app with an HTML5 Canvas? It sounds like you are doing a J2ME Canvas app and this the wrong forum for that.