Class: GamePad
Lua
C++
Edit

GamePad::GetAxisPosition

This method gets the current position of a thumbstick or trigger.

Syntax

Parameter Description
axis gamepad axis, can be GAMEPADAXIS_RTRIGGER, GAMEPADAXIS_LTRIGGER, GAMEPADAXIS_RSTICK, or GAMEPADAXIS_LSTICK

Returns

Returns the gamepad axis position.

Copyright © 2024 Ultra Software.
All rights reserved.