getGamepadRightTrigger
WindowModuleInterface::getGamepadRightTrigger
Returns the value of the stick’s right trigger, with 0.0 being neutral and 1.0 being fully pressed.
Declaration
virtual float getGamepadRightTrigger(GamepadID gamepadID) = 0;
Parameters
Name |
Type |
Description |
---|---|---|
gamepadID |
The gamepad to get the right 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.