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