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 –
true
if the down;false
if up.- Returns
a PreviousButtonState conversion of the state.