Off the top of my head I don't know the specific events generated, but
given that you can use the trackball to e.g. scroll through a list
without clicking on items, what you want to do is obviously possible.


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..
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to