From 20699e90fac3195ab1b5d39793b48a5238a5ebc3 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 17 May 2021 15:10:59 -0400 Subject: hid/gesture: Replace x,y members of GestureState with a Point Simplifies assignments. --- src/core/hle/service/hid/controllers/gesture.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/core/hle/service/hid/controllers/gesture.h') diff --git a/src/core/hle/service/hid/controllers/gesture.h b/src/core/hle/service/hid/controllers/gesture.h index 619b6f3dc..809303131 100644 --- a/src/core/hle/service/hid/controllers/gesture.h +++ b/src/core/hle/service/hid/controllers/gesture.h @@ -77,8 +77,7 @@ private: s64_le detection_count; TouchType type; Direction direction; - s32_le x; - s32_le y; + Point pos; s32_le delta_x; s32_le delta_y; f32 vel_x; -- cgit v1.2.3