Added support for multiple input device types for KeyMap and connected Qt.
This commit is contained in:
parent
4a94ec934a
commit
02fd19b2f6
12 changed files with 256 additions and 201 deletions
|
@ -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
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue