summaryrefslogtreecommitdiffstats
path: root/src/core/frontend/input.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/input.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/input.h')
-rw-r--r--src/core/frontend/input.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/frontend/input.h b/src/core/frontend/input.h
index de51a754e..f014dfea3 100644
--- a/src/core/frontend/input.h
+++ b/src/core/frontend/input.h
@@ -163,10 +163,11 @@ using MotionStatus = std::tuple<Common::Vec3<float>, Common::Vec3<float>, Common
using MotionDevice = InputDevice<MotionStatus>;
/**
- * A touch status is an object that returns a tuple of two floats and a bool. The floats are
- * x and y coordinates in the range 0.0 - 1.0, and the bool indicates whether it is pressed.
+ * A touch status is an object that returns an array of 16 tuple elements of two floats and a bool.
+ * The floats are x and y coordinates in the range 0.0 - 1.0, and the bool indicates whether it is
+ * pressed.
*/
-using TouchStatus = std::tuple<float, float, bool>;
+using TouchStatus = std::array<std::tuple<float, float, bool>, 16>;
/**
* A touch device is an input device that returns a touch status object