#include <glfwinputserver.h>

Public Member Functions | |
| GlfwInputServer (const char *id) | |
| virtual | ~GlfwInputServer () |
| virtual void | RegisterCallbacks () |
| virtual bool | Trigger () |
| virtual void | WaitForEvent () |
| virtual void | SetMousePosition (ushort_t x, ushort_t y) |
Static Private Member Functions | |
| static void GLFWCALL | CallbackKey (int key, int action) |
| static void GLFWCALL | CallbackChar (int character, int action) |
| static void GLFWCALL | CallbackButton (int button, int action) |
| static void GLFWCALL | CallbackPosition (int x, int y) |
| static void GLFWCALL | CallbackWheel (int pos) |
| static KeyCode | translateKey (int glwf_key) |
| static KeyCode | translateButton (int glwf_button) |
| static KeyState | translateAction (int glwf_action) |
Private Attributes | |
| bool | has_callbacks |
| GlfwInputServer::GlfwInputServer | ( | const char * | id | ) |
Constructor.
| GlfwInputServer::~GlfwInputServer | ( | ) | [virtual] |
Destructor.
| void GlfwInputServer::RegisterCallbacks | ( | ) | [virtual] |
Reimplemented from InputServer.
| bool GlfwInputServer::Trigger | ( | ) | [virtual] |
Reimplemented from InputServer.
| void GlfwInputServer::WaitForEvent | ( | ) | [virtual] |
Reimplemented from InputServer.
Reimplemented from InputServer.
| void GLFWCALL GlfwInputServer::CallbackKey | ( | int | key, | |
| int | action | |||
| ) | [static, private] |
| void GLFWCALL GlfwInputServer::CallbackChar | ( | int | character, | |
| int | action | |||
| ) | [static, private] |
| void GLFWCALL GlfwInputServer::CallbackButton | ( | int | button, | |
| int | action | |||
| ) | [static, private] |
| void GLFWCALL GlfwInputServer::CallbackPosition | ( | int | x, | |
| int | y | |||
| ) | [static, private] |
| void GLFWCALL GlfwInputServer::CallbackWheel | ( | int | pos | ) | [static, private] |
| KeyCode GlfwInputServer::translateKey | ( | int | glwf_key | ) | [inline, static, private] |
| KeyCode GlfwInputServer::translateButton | ( | int | glwf_button | ) | [inline, static, private] |
| KeyState GlfwInputServer::translateAction | ( | int | glwf_action | ) | [inline, static, private] |
bool GlfwInputServer::has_callbacks [private] |
1.5.3