diff options
| author | skidau <skidau@gmail.com> | 2014-10-05 12:14:04 +1100 |
|---|---|---|
| committer | skidau <skidau@gmail.com> | 2014-10-05 12:14:04 +1100 |
| commit | 871d308b88235c115e49267ca79e4f1d48fba0f7 (patch) | |
| tree | 71073098f0902886bbe5271a9d725567de41f3f9 /Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.h | |
| parent | 47bf698b70668f72f8495da209ffe68091d89bcf (diff) | |
| parent | 7f6284c2fcea9d543b0eec44ea0f3ad36bd0c0aa (diff) | |
Merge pull request #1206 from comex/amperspocalypse
Change a bunch of reference function arguments to pointers.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.h')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.h b/Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.h index 167f9af113..a75c74bba5 100644 --- a/Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.h +++ b/Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.h @@ -54,11 +54,11 @@ private: { public: std::string GetName() const override { return name; } - Button(unsigned int index, unsigned int& buttons); + Button(unsigned int index, unsigned int* buttons); ControlState GetState() const override; private: - const unsigned int& m_buttons; + const unsigned int* m_buttons; const unsigned int m_index; std::string name; }; @@ -68,11 +68,11 @@ private: public: std::string GetName() const override { return name; } bool IsDetectable() override { return false; } - Cursor(u8 index, bool positive, const float& cursor); + Cursor(u8 index, bool positive, const float* cursor); ControlState GetState() const override; private: - const float& m_cursor; + const float* m_cursor; const u8 m_index; const bool m_positive; std::string name; @@ -83,11 +83,11 @@ private: public: std::string GetName() const override { return name; } bool IsDetectable() override { return false; } - Axis(u8 index, bool positive, const float& axis); + Axis(u8 index, bool positive, const float* axis); ControlState GetState() const override; private: - const float& m_axis; + const float* m_axis; const u8 m_index; const bool m_positive; std::string name; |
