OUYA Controller Library?

I would like to access the OUYA Controller from within Basic4Android.

Button presses should work. However, it doesn't appear that there is a mechanism for getting the left and right stick axis values. According to the OUYA docs, you need to override the activity's onGenericMotionEvent method.

Any suggestions...
 
Erel,

Intersting behavior in this library:

Only after pass through in event Activity_KeyPress and put the result in a listview, like code below:

Sub Activity_KeyPress (KeyCode As Int) As Boolean
ListView1.AddSingleLine (KeyCode)
End Sub


NOTE: The listview must be the flag VISIBLE = TRUE (with false not work)
and not work with anothers objects, like label, edittext....

After that OUYA_ongenericmotion starting work


STRANNGGEEEEEE!!!!!
 
Upvote 0
Back
Top