Re: [android-developers] Re: How to handle simultaneous key press

2009-12-15 Thread zhangjun
you can do the cache yourself, but it is not safe because you should eat the first down key, so you must care the key eating and mending On Mon, 2009-12-14 at 17:55 -0800, onceaweek wrote: Thank you for reply. I'd like to know how to catch previous key press information. Is there any

[android-developers] Re: How to handle simultaneous key press

2009-12-14 Thread Nightwolf
You should try it. At least combinations like w+a+space work. I haven't try with special keys though. My app that needs to handle multiple key presses has boolean array for each action (turn left or right, fire etc.). Corresponding array elements are set in onKeyDown and onKeyUp event handlers.

[android-developers] Re: How to handle simultaneous key press

2009-12-14 Thread onceaweek
Thank you for reply. I'd like to know how to catch previous key press information. Is there any method in KeyEvent class or somewhere ? On 12월15일, 오전1시53분, Nightwolf mikh...@gmail.com wrote: You should try it. At least combinations like w+a+space work. I haven't try with special keys though.