Ankush's Garage
A collection of stuff made by Ankush Roy
Loading...
Searching...
No Matches
EventHandler.h File Reference
#include "Core/Common/pch.h"

Go to the source code of this file.

Classes

class  Core::EventHandlerStruct
 
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...
 

Namespaces

namespace  Core
 

Enumerations

enum  Core::KEY {
  Core::RESIZE_PROJECT_WINDOW , Core::MOUSE_ROLL , Core::MOUSE_MIDDLE_CLICK , Core::MOUSE_RIGHT_CLICK ,
  Core::MOUSE_LEFT_CLICK , Core::MOUSE_MOVE , Core::ESC , Core::RIGHT ,
  Core::LEFT , Core::UP , Core::DOWN , Core::W ,
  Core::A , Core::S , Core::D , Core::COUNT
}
 
enum  Core::KEY_STATE { Core::IDLE , Core::PRESSED , Core::HELD , Core::RELEASED }