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 method in KeyEvent class or somewhere ?
> 
> 
> On 12월15일, 오전1시53분, Nightwolf <[email protected]> wrote:
> > 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.
> >
> > On 14 дек, 09:50,onceaweek<[email protected]> wrote:
> >
> >
> >
> > > I was wondering whether Androd can catch  simultaneous Key Press.
> > > For example, a application does something when a user press HOME and
> > > MENU key simultaneously.
> > > Is it a possible scenario?
> >
> > > Thank you in advance.- 원본 텍스트 숨기기 -
> >
> > - 원본 텍스트 보기 -
> 

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to