summaryrefslogtreecommitdiffstats
path: root/src/citra/emu_window/emu_window_glfw.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2014-09-12 23:44:25 +0200
committerbunnei <bunneidev@gmail.com>2014-09-12 23:44:25 +0200
commitcbdf4d4c8e11f8d1503b440eee1ed2d5f144a73f (patch)
treec9c95671835d73b5ca7e52029de5bb27832e11a3 /src/citra/emu_window/emu_window_glfw.h
parentMerge pull request #99 from archshift/ext-check (diff)
parentAdded support for multiple input device types for KeyMap and connected Qt. (diff)
downloadyuzu-cbdf4d4c8e11f8d1503b440eee1ed2d5f144a73f.tar
yuzu-cbdf4d4c8e11f8d1503b440eee1ed2d5f144a73f.tar.gz
yuzu-cbdf4d4c8e11f8d1503b440eee1ed2d5f144a73f.tar.bz2
yuzu-cbdf4d4c8e11f8d1503b440eee1ed2d5f144a73f.tar.lz
yuzu-cbdf4d4c8e11f8d1503b440eee1ed2d5f144a73f.tar.xz
yuzu-cbdf4d4c8e11f8d1503b440eee1ed2d5f144a73f.tar.zst
yuzu-cbdf4d4c8e11f8d1503b440eee1ed2d5f144a73f.zip
Diffstat (limited to 'src/citra/emu_window/emu_window_glfw.h')
-rw-r--r--src/citra/emu_window/emu_window_glfw.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/citra/emu_window/emu_window_glfw.h b/src/citra/emu_window/emu_window_glfw.h
index c1b41203b..29325bb75 100644
--- a/src/citra/emu_window/emu_window_glfw.h
+++ b/src/citra/emu_window/emu_window_glfw.h
@@ -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
};