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