Moves are completely independent from down/up in the trackball, since you can move it without having it pressed down.
On Sat, Apr 18, 2009 at 3:09 AM, TjerkW <tje...@gmail.com> wrote: > > Hello all, > > Maybe a stupid question (i dunnot have an android phone), > but it is possible to move the trackball without generating an > ACTION_DOWN event. > > So is the trackball both a button and a trackball.. Or is there always > an action down event > before an action move, like there is with a touchscreen. > > So again to rephrase the question. Is this sequence of events possible > for a trackball: > > ACTION_MOVE > ACTION_DOWN > ACTION_MOVE > ACTION_UP > ACTION_MOVE > > For a touchscreen it is always > > > ACTION_DOWN > ACTION_MOVE > ACTION_UP > > > I want to know this for a game: wether i can use the trackball both > for shooting and moving. > The user should be able to move, but not to shoot.. > > > > > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---