Skip to main content
MJD1981
Inspiring
Jun 3, 2013 9:16 AM UTC
Answered

GameInput for OUYA

Has anybody successfully implemented the new "GameInput" class in an AIR project yet?

http://www.adobe.com/devnet/air/articles/game-controllers-on-air.html

Despite including the SWC provided, I'm getting "Class flash.ui::GameInput could not be found" on AIR 3.8.

Was I naive to think I could test this on Windows? Although I don't yet own an OUYA, I was hoping to get some response from an Xbox controller.

This topic is closed to new replies. Start a new post to keep the conversation going.
MJD1981
MJD1981Correct answer
Inspiring
Jun 15, 2013 10:37 AM UTC

Turns out my project was so large that the import lines were coming in too late to be recognized, so I prioritized them and now everything works perfectly - even on Windows with an Xbox controller!

9 replies

MJD1981
MJD1981AuthorCorrect answer
Inspiring
Jun 15, 2013 10:37 AM UTC

Turns out my project was so large that the import lines were coming in too late to be recognized, so I prioritized them and now everything works perfectly - even on Windows with an Xbox controller!

Translate
Adobe Employee
Jun 3, 2013 9:45 AM UTC

Could you please share the -swf-version and namespace you are using?

-Nimit

Translate
MJD1981
MJD1981Author
Inspiring
Jun 3, 2013 10:11 AM UTC

AIR 3.8 version number 21.

Is it worth rolling back to AIR 3.7 exactly?

Translate
Adobe Employee
Jun 3, 2013 10:57 AM UTC

Could you please overlay your sdk again with the latest build available at http://labs.adobe.com/downloads/air.html. It could be possible that your airgloblal.swc is not updated.

You can follow the steps mentioned at http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html for overlaying.

-Nimit

Translate