Joystick controllers in odk-0.0.6 (Java)

Hi all,

I am now trying to get joystick work with Android using ouya sdk. 
I tried ouya-controller-testapp from samples in odk0.0.6
I plugged my random twin joysticks (not xbox360 nor ps3) to pc and run an app to my android devices.

There was just a picture of ouya joystick appeared on screen, but cannot see any reaction between app and joystick on my hands.

My joystick works with any games on my PC also some xbox360controller tester tool proved that this should work.
I wonder that how are you guys connecting joystick to android, though pc or directly to devices?

Can someone help me please? 

Another question, I followed this docs https://devs.ouya.tv/developers/docs/controllers ;
but why OuyaController.init(this);  is undefined?

Sorry if these are noob questions, but I already did searching, but none were found.
Playing video games is about fun, creating them should be a lot more fun, isn't it?

Comments

  • pluspingyapluspingya Posts: 5Member
    I've got an answer for first question now,
    I do need to plug joystick directly to android devices. Since android has only mini-usb port, I need to buy wired xbox360 controller which comes with mini-usb port, or find some android dock that comes with generic USB port and use any usb joystick.
    Playing video games is about fun, creating them should be a lot more fun, isn't it?
  • pluspingyapluspingya Posts: 5Member
    Well, Xbox controller doesn't come with mini-usb port, i was wrong about this, sorry.
    Playing video games is about fun, creating them should be a lot more fun, isn't it?
  • GnomicStudiosGnomicStudios Posts: 13Member
    edited March 2013
    > but why OuyaController.init(this); is undefined? 

    I'm not certain about this, but it may have been deprecated. At least in the 0.0.6 OUYA-ODK\Samples\ouya-controller-testapp, there doesn't seem to be any call to OuyaController.init(). Anyone else confirm or deny this? 

    > Well, Xbox controller doesn't come with mini-usb port, i was wrong about this, sorry. 

    Perhaps you could buy a cable to convert the xbox USB to the mini USB for your android device?
    Post edited by GnomicStudios on
  • postmechanicalpostmechanical Posts: 8Member
    Controller code seems to work fine for me without OuyaController.init().
Sign In or Register to comment.