From 5d121a20b9f63dcc009687b10ece3af30b1d06c7 Mon Sep 17 00:00:00 2001 From: yellows8 <yellows8@users.noreply.github.com> Date: Tue, 12 Mar 2019 16:21:22 -0400 Subject: [PATCH] Changed types for fields in MousePosition to s32. --- nx/include/switch/services/hid.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/nx/include/switch/services/hid.h b/nx/include/switch/services/hid.h index b0eb0607..29d34dda 100644 --- a/nx/include/switch/services/hid.h +++ b/nx/include/switch/services/hid.h @@ -342,12 +342,12 @@ typedef struct JoystickPosition typedef struct MousePosition { - u32 x; - u32 y; - u32 velocityX; - u32 velocityY; - u32 scrollVelocityX; - u32 scrollVelocityY; + s32 x; + s32 y; + s32 velocityX; + s32 velocityY; + s32 scrollVelocityX; + s32 scrollVelocityY; } MousePosition; typedef struct HidVector