csharp
public enum GamepadAxisAn analogue axis on a gamepad.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Stick axes are reported in [-1, 1] with up and left negative, matching the engine's screen convention (docs/plan/03). Triggers are reported in [0, 1], because a trigger has a rest position rather than a centre and mapping it onto a signed range makes every consumer undo the mapping.
Fields and properties (7)
NoneNo axis.
LeftStickXLeft stick, horizontal. Negative is left.
LeftStickYLeft stick, vertical. Negative is up.
RightStickXRight stick, horizontal. Negative is left.
RightStickYRight stick, vertical. Negative is up.
LeftTriggerLeft trigger, [0, 1].
RightTriggerRight trigger, [0, 1].
Used by (10)
- DesktopGamepadVixen.Platform.Desktop
- DesktopPlatformVixen.Platform.Desktop
- IGamepadVixen.Platform
- InputKeyTestsVixen.Input.Tests
- PlatformEventVixen.Platform
- PlatformEventTestsVixen.Platform.Tests
- PlatformInputVixen.App.Hosting
- SdlTranslationVixen.Platform.Desktop
- SdlTranslationTestsVixen.Platform.Desktop.Tests
- PlatformInputTestsVixen.App.Tests