GameInput - List of gamepad controls

Hello all,

I made a simple utility to list the controls of a connected gamepad (id | minValue | maxValue):

http://www.fastswf.com/ueGqQF8

(It doesn’t seem to work in chrome but it works fine in firefox / iexplorer)

Would anyone be interested in helping me gather some data from different gamepads, so we can build a universal gamepad library?

If anyone would prefer the source, here it is:

https://pastebin.com/thngR0RJ

And to get things started, here is the data for my X360 wireless gamepad:

[details=Device: Xbox 360 Controller (XInput STANDARD GAMEPAD)]AXIS_0 | -1 | 1
AXIS_1 | -1 | 1
AXIS_2 | -1 | 1
AXIS_3 | -1 | 1
BUTTON_4 | 0 | 1
BUTTON_5 | 0 | 1
BUTTON_6 | 0 | 1
BUTTON_7 | 0 | 1
BUTTON_8 | 0 | 1
BUTTON_9 | 0 | 1
BUTTON_10 | 0 | 1
BUTTON_11 | 0 | 1
BUTTON_12 | 0 | 1
BUTTON_13 | 0 | 1
BUTTON_14 | 0 | 1
BUTTON_15 | 0 | 1
BUTTON_16 | 0 | 1
BUTTON_17 | 0 | 1
BUTTON_18 | 0 | 1
BUTTON_19 | 0 | 1
[/details]

It doesn’t work in Chrome (or Edge) because Flash isn’t turned on by default on them. Have you considered replicating this effort for the Gamepad API that is part of the HTML5 standard? :slight_smile:

It is obviously turned on in my case since I am a flash developer and know how to notice if it’s not turned on. The swf opens up but no controller is detected. Anyway I’m not really interested in why it’s not working in chrome. I’m here to hopefully collect some gamepad data.

And no, I haven’t considered HTML5. Feel free to start your own initiative for that. I thought I posted this in the AS3 forums? Sorry if I posted it in the wrong location.