Commit cc17a2a6 authored by Robert Menzel's avatar Robert Menzel
Browse files

clean up

parent 2cceec76
...@@ -50,13 +50,8 @@ public: ...@@ -50,13 +50,8 @@ public:
RIGHT_ANALOG_STICK_X = 4, // -1..1 aka left-right RIGHT_ANALOG_STICK_X = 4, // -1..1 aka left-right
RIGHT_ANALOG_STICK_Y = 5, // -1..1 aka up-down / front-back RIGHT_ANALOG_STICK_Y = 5, // -1..1 aka up-down / front-back
LEFT_ANALOG_STICK_X_INVERSE = 6, // 1..-1
LEFT_ANALOG_STICK_Y_INVERSE = 7, // 1..-1
RIGHT_ANALOG_STICK_X_INVERSE = 8, // 1..-1
RIGHT_ANALOG_STICK_Y_INVERSE = 9, // 1..-1
// number of elements in this enum (itself not included): // number of elements in this enum (itself not included):
GAMEPAD_AXIS_ENUM_SIZE = 10 GAMEPAD_AXIS_ENUM_SIZE = 6
}; };
...@@ -81,9 +76,6 @@ public: ...@@ -81,9 +76,6 @@ public:
//! true if the button was just pressed or released //! true if the button was just pressed or released
bool buttonStateChanged( GamePadButton _button ); bool buttonStateChanged( GamePadButton _button );
//! true if the axis is >
//bool isPressed( GamePadAxis _axis );
//! define the mapping of one button //! define the mapping of one button
void setButtonMapping( GamePadButton _button, unsigned int _rawButtonNumber ); void setButtonMapping( GamePadButton _button, unsigned int _rawButtonNumber );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment