Skip to content

Commit

Permalink
Merge pull request #4894 from lioncash/private
Browse files Browse the repository at this point in the history
Cursor: Make m_z private
  • Loading branch information
JosJuice committed Feb 11, 2017
2 parents d4ec178 + e4bdc88 commit e568d57
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,13 @@ class Cursor : public ControlGroup

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.
static constexpr double SPEED_MULTIPLIER = 0.04;

ControlState m_x = 0.0;
ControlState m_y = 0.0;
ControlState m_z = 0.0;
};
} // namespace ControllerEmu

0 comments on commit e568d57

Please sign in to comment.