summaryrefslogtreecommitdiffstats
path: root/src/core/frontend/emu_window.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-01-21 07:39:01 +0100
committerGitHub <noreply@github.com>2021-01-21 07:39:01 +0100
commita1335d3d5142f47602e54a51d09ed16d22164271 (patch)
tree91e3d396895e1d915cbaef7a7151d119b43a646e /src/core/frontend/emu_window.h
parentMerge pull request #5361 from ReinUsesLisp/vk-shader-comment (diff)
parentAlways initialize keyboard input (diff)
downloadyuzu-a1335d3d5142f47602e54a51d09ed16d22164271.tar
yuzu-a1335d3d5142f47602e54a51d09ed16d22164271.tar.gz
yuzu-a1335d3d5142f47602e54a51d09ed16d22164271.tar.bz2
yuzu-a1335d3d5142f47602e54a51d09ed16d22164271.tar.lz
yuzu-a1335d3d5142f47602e54a51d09ed16d22164271.tar.xz
yuzu-a1335d3d5142f47602e54a51d09ed16d22164271.tar.zst
yuzu-a1335d3d5142f47602e54a51d09ed16d22164271.zip
Diffstat (limited to 'src/core/frontend/emu_window.h')
-rw-r--r--src/core/frontend/emu_window.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/core/frontend/emu_window.h b/src/core/frontend/emu_window.h
index 276d2b906..2436c6580 100644
--- a/src/core/frontend/emu_window.h
+++ b/src/core/frontend/emu_window.h
@@ -117,18 +117,23 @@ public:
* Signal that a touch pressed event has occurred (e.g. mouse click pressed)
* @param framebuffer_x Framebuffer x-coordinate that was pressed
* @param framebuffer_y Framebuffer y-coordinate that was pressed
+ * @param id Touch event ID
*/
- void TouchPressed(unsigned framebuffer_x, unsigned framebuffer_y);
+ void TouchPressed(unsigned framebuffer_x, unsigned framebuffer_y, std::size_t id);
- /// Signal that a touch released event has occurred (e.g. mouse click released)
- void TouchReleased();
+ /**
+ * Signal that a touch released event has occurred (e.g. mouse click released)
+ * @param id Touch event ID
+ */
+ void TouchReleased(std::size_t id);
/**
* Signal that a touch movement event has occurred (e.g. mouse was moved over the emu window)
* @param framebuffer_x Framebuffer x-coordinate
* @param framebuffer_y Framebuffer y-coordinate
+ * @param id Touch event ID
*/
- void TouchMoved(unsigned framebuffer_x, unsigned framebuffer_y);
+ void TouchMoved(unsigned framebuffer_x, unsigned framebuffer_y, std::size_t id);
/**
* Returns currently active configuration.