Touchpad get input

Hi , I don't understand how to query touchpad input events. In docs i see that a touchpad is configured to behave as a mouse input , but what does it means? Can i use onTouchEvent in AndroidActivity? Is there a way to access with OuyaController class?

I'm tring to make a libgdx input wrapper but i need this information to make it works well!

Comments

  • goodhustlegoodhustle Posts: 144Member
    I don't think it's a touchpad per se, more of a trackpad. When I use it, a mouse icon appears onscreen. I'm not 100% sure if the taps are then sent as click or touch.
    Beast Boxing Turbo - OUYA Launch Title!
  • BadKangarooBadKangaroo Posts: 6Member
    edited January 2013
    So is there a way to get the absolute position of a touch point over the touchpad on the controller? that would be pretty nice, almost necessary for many applications. Though, I'm guessing that the data coming out of the trackpad is just x/y delta values, no?
    Post edited by BadKangaroo on
  • hypercanestudioshypercanestudios Posts: 126Member
    See this sample code under the section Distinguishing between Analog Joystick and Touchpad.
Sign In or Register to comment.