toCurrentButtonState#
Fully qualified name: carb::input::toCurrentButtonState
Defined in carb/input/InputUtils.h
- inline CurrentButtonState carb::input::toCurrentButtonState(
 - bool isDown,
 Converts a button state to a CurrentButtonState.
- Parameters:
 isDown –
trueif the down;falseif up.- Returns:
 a CurrentButtonState conversion of the state.