eduEngine 1.0
Course framework for DA376B
|
Classes | |
struct | ControllerState |
struct | Impl |
struct | MouseState |
Public Types | |
enum class | Key { A , B , C , D , E , F , G , H , I , J , K , L , M , N , O , P , Q , R , S , T , U , V , W , X , Y , Z , Num0 , Num1 , Num2 , Num3 , Num4 , Num5 , Num6 , Num7 , Num8 , Num9 , LeftShift , RightShift , LeftCtrl , RightCtrl , LeftAlt , RightAlt , Up , Down , Left , Right , Space , Enter , Backspace , Tab , Escape , F1 , F2 , F3 , F4 , F5 , F6 , F7 , F8 , F9 , F10 , F11 , F12 } |
using | ControllerMap = std::unordered_map<int, ControllerState> |
Public Member Functions | |
void | HandleEvent (const void *event) |
void | Update () |
bool | IsKeyPressed (Key key) const |
bool | IsMouseButtonDown (int button) const |
const MouseState & | GetMouseState () const |
const ControllerState & | GetControllerState (int controllerIndex) const |
int | GetConnectedControllerCount () const |
ControllerMap & | GetControllers () |