A high-level list of unique values for gamepad inputs. These do NOT correspond to any actual hardware values but are the basis for all hardware-specific lookups.
Maps enum values and strings to unique integer codes
Static variables
staticread onlyfromStringMap:Map<String, FlxGamepadInputID> = FlxMacroUtil.buildMap("flixel.input.gamepad.FlxGamepadInputID")
staticread onlytoStringMap:Map<FlxGamepadInputID, String> = FlxMacroUtil.buildMap("flixel.input.gamepad.FlxGamepadInputID", true)
Static methods
Variables
inlineread onlyDPAD:FlxGamepadInputID = 21
identifier for the entire DPAD itself, not just any particular button
inlineread onlyEXTRA_0:FlxGamepadInputID = 30
an extra digital button that doesn't fit cleanly into the universal template
inlineread onlyEXTRA_1:FlxGamepadInputID = 31
an extra digital button that doesn't fit cleanly into the universal template
inlineread onlyEXTRA_2:FlxGamepadInputID = 32
an extra digital button that doesn't fit cleanly into the universal template
inlineread onlyEXTRA_3:FlxGamepadInputID = 33
an extra digital button that doesn't fit cleanly into the universal template
inlineread onlyGUIDE:FlxGamepadInputID = 10
this is the "XBox" or "PS" or "home" button in the center
inlineread onlyLEFT_ANALOG_STICK:FlxGamepadInputID = 19
identifier for the entire LEFT_ANALOG_STICK itself, not just any particular direction
inlineread onlyLEFT_STICK_DIGITAL_DOWN:FlxGamepadInputID = 36
left analog stick as a dpad, pushed down
inlineread onlyLEFT_STICK_DIGITAL_LEFT:FlxGamepadInputID = 37
left analog stick as a dpad, pushed left
inlineread onlyLEFT_STICK_DIGITAL_RIGHT:FlxGamepadInputID = 35
left analog stick as a dpad, pushed right
inlineread onlyLEFT_TRIGGER_BUTTON:FlxGamepadInputID = 15
digital click at end of left analog trigger's squeeze (if available)
inlineread onlyPOINTER_X:FlxGamepadInputID = 28
for a mouse-like input such as touch or IR camera. Horizontal axis.
inlineread onlyPOINTER_Y:FlxGamepadInputID = 29
for a mouse-like input such as touch or IR camera. Vertical axis.
inlineread onlyRIGHT_ANALOG_STICK:FlxGamepadInputID = 20
identifier for the entire RIGHT_ANALOG_STICK itself, not just any particular direction
inlineread onlyRIGHT_STICK_DIGITAL_DOWN:FlxGamepadInputID = 40
left analog stick as a dpad, pushed down
inlineread onlyRIGHT_STICK_DIGITAL_LEFT:FlxGamepadInputID = 41
left analog stick as a dpad, pushed left
inlineread onlyRIGHT_STICK_DIGITAL_RIGHT:FlxGamepadInputID = 39
left analog stick as a dpad, pushed right
inlineread onlyRIGHT_TRIGGER_BUTTON:FlxGamepadInputID = 16
digital click at end of right analog trigger's squeeze (if available)
inlineread onlyTILT_PITCH:FlxGamepadInputID = 26
tilting towards or away from the ceiling (think "look up", "look down")
inlineread onlyTILT_ROLL:FlxGamepadInputID = 27
tilting side-to-side (think "twisting", or "do a barrel roll!")