public enum GamepadControlA control on a gamepad.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Buttons keep the positional names Vixen.Platform.GamepadButton uses and the same values, so the bridge casts. Axes are numbered above them in one enum rather than split into two, because a binding path names one control and the parser should not have to know which half to look in before it can tell whether leftTrigger exists.
Fields and properties (25)
NoneNo control.
SouthBottom face button: A on Xbox, ✕ on PlayStation, B on Nintendo.
EastRight face button: B on Xbox, ○ on PlayStation, A on Nintendo.
WestLeft face button: X on Xbox, □ on PlayStation, Y on Nintendo.
NorthTop face button: Y on Xbox, △ on PlayStation, X on Nintendo.
BackThe left-hand small button: View, Share, -.
GuideThe vendor button in the middle: Guide, PS, Home.
StartThe right-hand small button: Menu, Options, +.
LeftStickThe left stick pressed in.
RightStickThe right stick pressed in.
LeftShoulderThe upper left shoulder button.
RightShoulderThe upper right shoulder button.
DPadUpUp on the directional pad.
DPadDownDown on the directional pad.
DPadLeftLeft on the directional pad.
DPadRightRight on the directional pad.
TouchpadThe touchpad pressed in, on controllers that have one.
LeftStickXLeft stick, horizontal, [-1, 1]. Negative is left.
LeftStickYLeft stick, vertical, [-1, 1]. Negative is up.
RightStickXRight stick, horizontal, [-1, 1]. Negative is left.
RightStickYRight stick, vertical, [-1, 1]. Negative is up.
LeftTriggerLeft trigger, [0, 1].
RightTriggerRight trigger, [0, 1].
DPadXThe directional pad read as a horizontal axis, -1, 0 or 1.
DPadYThe directional pad read as a vertical axis. Negative is up, matching the sticks.
Used by (10)
- GamepadDeviceVixen.Input
- InputActionTestsVixen.Input.Tests
- InputControlVixen.Input
- InputControlPathVixen.Input
- InputControlPathTestsVixen.Input.Tests
- InputDeviceSetVixen.Input
- InputKeyTestsVixen.Input.Tests
- InputRebindingTestsVixen.Input.Tests
- PlatformInputVixen.App.Hosting
- PlatformInputTestsVixen.App.Tests