diff options
author | Lioncash <mathew1800@gmail.com> | 2021-05-17 20:59:33 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2021-05-18 09:32:38 +0200 |
commit | 60831eabd98ed3317c3740d7d03445b9afe8a5e2 (patch) | |
tree | 41f93cde9d1371f487e5790528ca238070f297a7 /src/core/hle/service | |
parent | Merge pull request #6328 from Morph1984/enforce-c4715 (diff) | |
download | yuzu-60831eabd98ed3317c3740d7d03445b9afe8a5e2.tar yuzu-60831eabd98ed3317c3740d7d03445b9afe8a5e2.tar.gz yuzu-60831eabd98ed3317c3740d7d03445b9afe8a5e2.tar.bz2 yuzu-60831eabd98ed3317c3740d7d03445b9afe8a5e2.tar.lz yuzu-60831eabd98ed3317c3740d7d03445b9afe8a5e2.tar.xz yuzu-60831eabd98ed3317c3740d7d03445b9afe8a5e2.tar.zst yuzu-60831eabd98ed3317c3740d7d03445b9afe8a5e2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/hid/controllers/gesture.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/hle/service/hid/controllers/gesture.h b/src/core/hle/service/hid/controllers/gesture.h index f46e29411..21123c46c 100644 --- a/src/core/hle/service/hid/controllers/gesture.h +++ b/src/core/hle/service/hid/controllers/gesture.h @@ -63,11 +63,11 @@ private: }; static_assert(sizeof(Attribute) == 4, "Attribute is an invalid size"); - struct Points { + struct Point { s32_le x; s32_le y; }; - static_assert(sizeof(Points) == 8, "Points is an invalid size"); + static_assert(sizeof(Point) == 8, "Point is an invalid size"); struct GestureState { s64_le sampling_number; @@ -85,7 +85,7 @@ private: f32 scale; f32 rotation_angle; s32_le point_count; - std::array<Points, 4> points; + std::array<Point, 4> points; }; static_assert(sizeof(GestureState) == 0x68, "GestureState is an invalid size"); @@ -102,9 +102,9 @@ private: }; struct GestureProperties { - std::array<Points, MAX_POINTS> points{}; + std::array<Point, MAX_POINTS> points{}; std::size_t active_points{}; - Points mid_point{}; + Point mid_point{}; s64_le detection_count{}; u64_le delta_time{}; f32 average_distance{}; |