getGamepadLeftTrigger
WindowModuleInterface::getGamepadLeftTrigger
Returns the value of the stick’s left trigger, with 0.0 being neutral and 1.0 being fully pressed.
Declaration
virtual float getGamepadLeftTrigger(GamepadID gamepadID) = 0;
Parameters
Name |
Type |
Description |
---|---|---|
gamepadID |
The gamepad to get the left trigger value from. |
Returns
A value between 0.0 and 1.0 where 0.0 means that the trigger is not pushed and 1.0 means that the trigger is completely pushed.