Close
Advertise Here
Results 1 to 7 of 7
  1. #1


    Problem with OUYA/Forge Input Unity

    well, i wrote the code for the input a long time ago, and it was working for the OUYA.

    now i updated to the latest ODK on unity, and when try to run my game on the Forge (for the first time), the input for the axis doesnt work, its stuck on "up" .

    buttons do work.

    i guess the problem is with the project settings, but... shouldnt that be ok on the odk?

    anyone knows how could i fix it?


    thanks!!

  2. #2
    OUYA Developer Jayenkai's Avatar
    Join Date
    Dec 2013
    Location
    Bolton, England
    Posts
    732


    This was SUCH a pain to get working for me.
    What you'll want to do (or at least, how I got it working) is to create two sets of control input functions.
    Your Primary input should be "Default Android TV Input"
    Your Secondary input should be "OUYA Specific Input"
    Watch for all buttons and input actions, and basically do a big "If something is *definitely* from an OUYA controller, then remember that this port is using an OUYA controller" thing.
    Store an "IsOUYA" setting per controller port, and you *should* be good to go.

    The main issue is that Forge has the Android TV layer AND the OUYA layer, whereas OUYA just had the OUYA stuff to work with. It causes a couple of quirks along the way.
    As long as you aim for "Plain AndroidTV" input, then you should be able to get away with most things.

    Note : Posting my code might help, but I'm using the language Monkey-X (Monkey-X.com) so it's not really compatible with a lot of other languages, I'm afraid.
    Jayenkai : Making unpopular games for over two and a half decades!
    OUYA/Cortex/Android TV compatible .apks available here.

  3. #3


    solved it!

    it was completely my fault...

    dont you hate it when this happens?

  4. #4
    OUYA Developer Jayenkai's Avatar
    Join Date
    Dec 2013
    Location
    Bolton, England
    Posts
    732


    LOL!
    Well, glad you got it solved.

    (But be sure to test on both OUYA and Forge before submitting)
    Jayenkai : Making unpopular games for over two and a half decades!
    OUYA/Cortex/Android TV compatible .apks available here.

  5. #5


    newest version wont work on OUYA.

  6. #6
    OUYA Developer Jayenkai's Avatar
    Join Date
    Dec 2013
    Location
    Bolton, England
    Posts
    732


    Dun dun durrr!!!

    It shouldn't be "too" much of an issue, since new releases don't go on to OUYA. But maybe best to check with OfficeHours, first.
    Jayenkai : Making unpopular games for over two and a half decades!
    OUYA/Cortex/Android TV compatible .apks available here.

  7. #7


    well, since they ditched ouya i started adding lights and visual effects.

    is not like it wont be released on ouya.

    its that it wont run.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •