Skip to main content
MJD1981
Inspiring
June 3, 2013
Answered

GameInput for OUYA

  • June 3, 2013
  • 2 replies
  • 2351 views

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 has been closed for replies.
Correct answer MJD1981

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!

2 replies

MJD1981
MJD1981AuthorCorrect answer
Inspiring
June 15, 2013

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!

Adobe Employee
June 3, 2013

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

-Nimit

MJD1981
MJD1981Author
Inspiring
June 3, 2013

AIR 3.8 version number 21.

Is it worth rolling back to AIR 3.7 exactly?

Adobe Employee
June 3, 2013

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