Table of Contents

Enum ControllerAxis

Namespace
MohawkGame2D
Assembly
GAME 10003 Game Development Foundations - 2D Game Template.dll

Defines the various controller axes (analog inputs) in a generic way.

public enum ControllerAxis

Fields

LeftTrigger = 4

Controller left side back trigger, pressure level: 1 through -1.

LeftX = 0

Controller left stick horizontal axis.

LeftY = 1

Controller left stick vertical axis.

RightTrigger = 5

Controller right side back trigger, pressure level: 1 through -1.

RightX = 2

Controller right stick horizontal axis.

RightY = 3

Controller right stick vertical axis.

Remarks

Wrapper around Raylib's GamepadAxis