Download Now

    Reference TGamepadAxis

    Declared in Codebot.Hardware.pas on line 512

    The axes every gamepad has. A stick ranges from -1 to 1, where x is 1 to the right and y is 1 when pulled down. A trigger ranges from 0 to 1.
    TGamepadAxis = (gaLeftX, gaLeftY, gaRightX, gaRightY, gaLeftTrigger, gaRightTrigger);