diff options
| author | 2021-01-10 08:36:31 -0600 | |
|---|---|---|
| committer | 2021-01-15 09:05:17 -0600 | |
| commit | b483f2d010bf745ab873e8f8bfaca5515e56d39f (patch) | |
| tree | d14bc19b4ca1c60460a941db612195be12f16b0d /src/core/frontend/emu_window.h | |
| parent | Add mutitouch support for touch screens (diff) | |
| download | yuzu-b483f2d010bf745ab873e8f8bfaca5515e56d39f.tar.gz yuzu-b483f2d010bf745ab873e8f8bfaca5515e56d39f.tar.xz yuzu-b483f2d010bf745ab873e8f8bfaca5515e56d39f.zip | |
Always initialize keyboard input
Diffstat (limited to 'src/core/frontend/emu_window.h')
| -rw-r--r-- | src/core/frontend/emu_window.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core/frontend/emu_window.h b/src/core/frontend/emu_window.h index f8db42ab4..2436c6580 100644 --- a/src/core/frontend/emu_window.h +++ b/src/core/frontend/emu_window.h | |||
| @@ -117,12 +117,13 @@ public: | |||
| 117 | * Signal that a touch pressed event has occurred (e.g. mouse click pressed) | 117 | * Signal that a touch pressed event has occurred (e.g. mouse click pressed) |
| 118 | * @param framebuffer_x Framebuffer x-coordinate that was pressed | 118 | * @param framebuffer_x Framebuffer x-coordinate that was pressed |
| 119 | * @param framebuffer_y Framebuffer y-coordinate that was pressed | 119 | * @param framebuffer_y Framebuffer y-coordinate that was pressed |
| 120 | * @param id Touch event id | 120 | * @param id Touch event ID |
| 121 | */ | 121 | */ |
| 122 | void TouchPressed(unsigned framebuffer_x, unsigned framebuffer_y, std::size_t id); | 122 | void TouchPressed(unsigned framebuffer_x, unsigned framebuffer_y, std::size_t id); |
| 123 | 123 | ||
| 124 | /** Signal that a touch released event has occurred (e.g. mouse click released) | 124 | /** |
| 125 | *@param id Touch event id | 125 | * Signal that a touch released event has occurred (e.g. mouse click released) |
| 126 | * @param id Touch event ID | ||
| 126 | */ | 127 | */ |
| 127 | void TouchReleased(std::size_t id); | 128 | void TouchReleased(std::size_t id); |
| 128 | 129 | ||
| @@ -130,7 +131,7 @@ public: | |||
| 130 | * Signal that a touch movement event has occurred (e.g. mouse was moved over the emu window) | 131 | * Signal that a touch movement event has occurred (e.g. mouse was moved over the emu window) |
| 131 | * @param framebuffer_x Framebuffer x-coordinate | 132 | * @param framebuffer_x Framebuffer x-coordinate |
| 132 | * @param framebuffer_y Framebuffer y-coordinate | 133 | * @param framebuffer_y Framebuffer y-coordinate |
| 133 | * @param id Touch event id | 134 | * @param id Touch event ID |
| 134 | */ | 135 | */ |
| 135 | void TouchMoved(unsigned framebuffer_x, unsigned framebuffer_y, std::size_t id); | 136 | void TouchMoved(unsigned framebuffer_x, unsigned framebuffer_y, std::size_t id); |
| 136 | 137 | ||