flowchart LR
A["IDLE"] --> B["Pressed?"]
B --> C(("Yes")) & D(("No"))
D --> A
C --> E["PRESSED"]
E --> F["Next Frame"]
F --> G["HELD"]
G --> H["Next Frame"]
H --> Z["Pressed?"]
Z --> J(("No")) & I(("Yes"))
I --> G
J --> K["RELEASED"]
K --> L["Next Frame"]
L --> A
A@{ shape: paper-tape}
B@{ shape: hex}
E@{ shape: paper-tape}
G@{ shape: paper-tape}
Z@{ shape: hex}
K@{ shape: paper-tape}
More...
#include <EventHandler.h>
flowchart LR
A["IDLE"] --> B["Pressed?"]
B --> C(("Yes")) & D(("No"))
D --> A
C --> E["PRESSED"]
E --> F["Next Frame"]
F --> G["HELD"]
G --> H["Next Frame"]
H --> Z["Pressed?"]
Z --> J(("No")) & I(("Yes"))
I --> G
J --> K["RELEASED"]
K --> L["Next Frame"]
L --> A
A@{ shape: paper-tape}
B@{ shape: hex}
E@{ shape: paper-tape}
G@{ shape: paper-tape}
Z@{ shape: hex}
K@{ shape: paper-tape}
◆ EventHandlerStruct()
Core::EventHandlerStruct::EventHandlerStruct |
( |
| ) |
|
◆ EndFrame()
void Core::EventHandlerStruct::EndFrame |
( |
| ) |
|
◆ GetEventHeld()
bool Core::EventHandlerStruct::GetEventHeld |
( |
KEY | p_Key | ) |
|
◆ GetEventPressed()
bool Core::EventHandlerStruct::GetEventPressed |
( |
KEY | p_Key | ) |
|
◆ HandleEvents()
SDL_AppResult Core::EventHandlerStruct::HandleEvents |
( |
SDL_Event * | p_Event | ) |
|
◆ UpdateKey()
void Core::EventHandlerStruct::UpdateKey |
( |
KEY | p_Action, |
|
|
bool | p_Pressed ) |
◆ Keys
The documentation for this class was generated from the following files: