Skip to main content
Participant
June 12, 2013
Answered

Is GameInput supported in Windows?

  • June 12, 2013
  • 2 replies
  • 3074 views

I have several Xbox 360 controllers that I would like to connect to my AS3 game. Is this even possible or should I stop trying?

Currently the only code I have in my AIR 3.7 project is "GameInput.isSupported" and it returns false.

This topic has been closed for replies.
Correct answer wdhoward

Support for GameInput is currently only supported on Android.  However, in the next major release of Flash Player and the AIR SDK, GameInput support will be added to FlashPlayer and desktop AIR.  You can get the current beta of both Flash Player and the AIR SDK and try it out!  The release notes for the beta release don't show it, but it's there.  We will get those updated!  Have fun!

2 replies

MJD1981
Inspiring
June 16, 2013

I had a pleasant surprise this morning when I experimented with it in AIR 3.8 beta and everything worked perfectly with an Xbox controller in Windows! Had every single button mapped and working effortlessly within a few minutes.

joonturboAuthor
Participant
June 16, 2013

Could you post the code or project? I'm currenty trying to do the same and with Air 3.8 it says controllers are supported, but doesn't find any when I connect Xbox controllers (even when plugged in advance, though they work in other games)

MJD1981
Inspiring
June 17, 2013

I followed the example code quite faithfully so there's no point in me linking to anything but that:
http://www.adobe.com/devnet/air/articles/game-controllers-on-air.html

At least you got as far as it being supported. All I can say is that I'm using the official wireless Xbox controller for PC. I have no experience of anything else as yet...

wdhowardCommunity ManagerCorrect answer
Community Manager
June 12, 2013

Support for GameInput is currently only supported on Android.  However, in the next major release of Flash Player and the AIR SDK, GameInput support will be added to FlashPlayer and desktop AIR.  You can get the current beta of both Flash Player and the AIR SDK and try it out!  The release notes for the beta release don't show it, but it's there.  We will get those updated!  Have fun!