Public Member Functions | |
| InputSystem (GLFWwindow *window) | |
| void | beginFrame () |
| template<KeyState state> | |
| bool | isKey (GLFWKey k) const |
| KeyState | getKeyState (GLFWKey k) const |
| float | getAxis (InputAxis axis) |
| template<KeyState state> | |
| bool | isMouse (GLFWKey k) const |
Public Member Functions inherited from engine::EventSource | |
| void | subscribe (EventSite *site) |
| void | unsubscribe (EventSite *site) |
| template<typename TEventSite , typename TEvent > | |
| void | fireEvent (void(TEventSite::*fire)(TEvent *event), TEvent *event) |
Additional Inherited Members | |
Protected Member Functions inherited from engine::GLFWEventSource | |
| void | fireMouseMoveEvent (MouseEvent *pEvent) |
| void | fireMouseButtonEvent (MouseButtonEvent *pEvent) |
| void | fireKeyboardEvent (KeyboardEvent *pEvent) |