summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu/ControlGroup
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2017-02-11 09:26:30 +0100
committerGitHub <noreply@github.com>2017-02-11 09:26:30 +0100
commite568d570223054bf7cb60adc0e17b8360d87fdad (patch)
tree3ae8cbcf6d3c435859c34f866f9b438e8a273679 /Source/Core/InputCommon/ControllerEmu/ControlGroup
parentd4ec178e0b5c9e1fa08554fe34f4af679b234d7a (diff)
parente4bdc8849466e8a30bfa069570e58e99d76154ea (diff)
Merge pull request #4894 from lioncash/private
Cursor: Make m_z private
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu/ControlGroup')
-rw-r--r--Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.h b/Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.h
index 3520d95d13..a86934aaa5 100644
--- a/Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.h
+++ b/Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.h
@@ -16,8 +16,6 @@ public:
void GetState(ControlState* x, ControlState* y, ControlState* z, bool adjusted = false);
- ControlState m_z = 0.0;
-
private:
// This is used to reduce the cursor speed for relative input
// to something that makes sense with the default range.
@@ -25,5 +23,6 @@ private:
ControlState m_x = 0.0;
ControlState m_y = 0.0;
+ ControlState m_z = 0.0;
};
} // namespace ControllerEmu