VoxelEngine
 
Loading...
Searching...
No Matches
engine::InputSystem Class Reference
Inheritance diagram for engine::InputSystem:
engine::GLFWEventSource engine::EventSource

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)
 

The documentation for this class was generated from the following files: