Stores information about a mouse button's state.
More...
#include <input.hpp>
Stores information about a mouse button's state.
Definition at line 59 of file input.hpp.
Buttons Raftel::Input::ButtonInfo::b |
The mouse button.
Definition at line 60 of file input.hpp.
◆ down
bool Raftel::Input::ButtonInfo::down = false |
Whether the button is down.
Definition at line 62 of file input.hpp.
◆ this_frame
bool Raftel::Input::ButtonInfo::this_frame = false |
Whether the button was pressed this frame.
Definition at line 63 of file input.hpp.
◆ up
bool Raftel::Input::ButtonInfo::up = true |
Whether the button is up.
Definition at line 61 of file input.hpp.
◆ was_pressed_last_frame
bool Raftel::Input::ButtonInfo::was_pressed_last_frame = false |
Whether the button was pressed in the last frame.
Definition at line 64 of file input.hpp.
The documentation for this struct was generated from the following file:
- C:/Users/carlo/OneDrive/Documentos/GitHub/3PVG_PMG_24_mazcunyabla_folgadoba/include/raftel/input.hpp