IInputContext.GetGamepadAxis(GamepadAxis, int) Method
Definition¶
Namespace: Brine2D.Input
Gets the value of a gamepad axis (−1.0 to 1.0 for sticks, 0.0 to 1.0 for triggers). Returns the raw axis value without deadzone applied.
float GetGamepadAxis(Brine2D.Input.GamepadAxis axis, int gamepadIndex=0);
Parameters¶
axis GamepadAxis
gamepadIndex System.Int32