Added support for multiple input device types for KeyMap and connected Qt.

This commit is contained in:
Kevin Hartman 2014-09-08 21:46:02 -07:00
parent 4a94ec934a
commit 02fd19b2f6
12 changed files with 256 additions and 201 deletions

View file

@ -25,8 +25,9 @@ public:
/// Releases (dunno if this is the "right" word) the GLFW context from the caller thread
void DoneCurrent();
GLFWwindow* m_render_window; ///< Internal GLFW render window
static void OnKeyEvent(GLFWwindow* win, int key, int scancode, int action, int mods);
private:
GLFWwindow* m_render_window; ///< Internal GLFW render window
int keyboard_id; ///< Device id of keyboard for use with KeyMap
};