Public Member Functions | |
| ButtonState (ButtonHandle handle) | |
| bool | is_known () const |
| bool | is_pressed () const |
| operator bool () | |
Public Attributes | |
| State | _state = S_unknown |
| ButtonHandle | handle = ButtonHandle::none() |
| is_known | |
| True if the button state is currently known. More... | |
| is_pressed | |
| True if the button is currently known to be pressed. More... | |
Definition at line 139 of file inputDevice.h.
|
inline |
True if the button state is currently known.
Definition at line 149 of file inputDevice.h.
Referenced by InputDevice::output_buttons(), and InputDevice::write_buttons().
|
inline |
True if the button is currently known to be pressed.
Definition at line 150 of file inputDevice.h.
1.8.15