Skip to main content
Participant
June 12, 2013
Answered

Is GameInput supported in Windows?

  • June 12, 2013
  • 2 replies
  • 3081 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)

joonturboAuthor
Participant
June 24, 2013

Did you have to get your project running in Release?  Or would it work in Debug?

With the Wireless controller, did you connect/pair it with the PC first?  Or join after launching the application?


Trying with two official Wired 360 controllers and isSupported is true.

The application even turns the ring LEDs on/off (off when you stop the application and on when you launch it), but it never fires the DEVICE_ADDED event and numDevices always remains 0.


Interested in how others got this to work.

And strangely, I cannot get this to work on the OUYA, either... shall try the demo, make sure I've not missed something daft!


I have exactly the same issue as you described Mark.

wdhowardCorrect answer
Participant
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!