Joystick Buttons:
authorChristopher Lees <leezer3@gmail.com>
Wed, 23 Nov 2016 14:11:00 +0000 (14:11 +0000)
committerChristopher Lees <leezer3@gmail.com>
Sun, 27 Nov 2016 19:23:44 +0000 (19:23 +0000)
commit7ef7c12c2bb11e8c41efae43bc22ad5836c1f943
tree2edb35b89a55ffd0e459c3060ce7b0dc2a49c775
parentc6ca54992394cac6146f225b3c695f6aa22d510d
Joystick Buttons:

* Remove JoystickButton enum (Use zero-based int as button index instead)
* Change to using a long to store button states
* Max buttons now 64 (Unable to go further without using an array)
13 files changed:
src/OpenTK/Input/GamePadConfiguration.cs
src/OpenTK/Input/GamePadConfigurationSource.cs
src/OpenTK/Input/JoystickButton.cs [deleted file]
src/OpenTK/Input/JoystickDevice.cs
src/OpenTK/Input/JoystickState.cs
src/OpenTK/OpenTK.csproj
src/OpenTK/Platform/LegacyJoystickDriver.cs
src/OpenTK/Platform/Linux/LinuxJoystick.cs
src/OpenTK/Platform/MacOS/HIDInput.cs
src/OpenTK/Platform/MappedGamePadDriver.cs
src/OpenTK/Platform/SDL2/Sdl2JoystickDriver.cs
src/OpenTK/Platform/Windows/WinRawJoystick.cs
src/OpenTK/Platform/Windows/XInputJoystick.cs