Panda3D
|
Public Member Functions | |
ButtonState (ButtonHandle handle) | |
ALWAYS_INLINE bool | is_known () const |
ALWAYS_INLINE 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 137 of file inputDevice.h.
ALWAYS_INLINE bool InputDevice::ButtonState::is_known |
True if the button state is currently known.
Definition at line 147 of file inputDevice.h.
Referenced by InputDevice::output_buttons(), and InputDevice::write_buttons().
ALWAYS_INLINE bool InputDevice::ButtonState::is_pressed |
True if the button is currently known to be pressed.
Definition at line 148 of file inputDevice.h.