Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

GameInput - List of gamepad controls

Community Beginner ,
Apr 11, 2017 Apr 11, 2017

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:

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

(I don't know how to put things in spoiler tags in this forum)

TOPICS
ActionScript
445
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation