carb::input::toButtonFlags
Defined in carb/input/InputUtils.h
- 
inline ButtonFlags carb::input::toButtonFlags(PreviousButtonState previousButtonState, CurrentButtonState currentButtonState)
- Combines the previous and current button states into a Button flags.. - Parameters
- previousButtonState – PreviousButtonState 
- currentButtonState – CurrentButtonState 
 
- Returns
- A Button flags. representation of the previous and current button state.