From ef429aff01ed1547ace2ddf339b98d44cba886ae Mon Sep 17 00:00:00 2001 From: thefiddler Date: Wed, 29 Jan 2014 10:28:06 +0100 Subject: [PATCH] [Input] Added support for JoystickButtons 16-31 --- Source/OpenTK/Input/JoystickButton.cs | 34 ++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/Source/OpenTK/Input/JoystickButton.cs b/Source/OpenTK/Input/JoystickButton.cs index 2ab2b88a..f858619c 100644 --- a/Source/OpenTK/Input/JoystickButton.cs +++ b/Source/OpenTK/Input/JoystickButton.cs @@ -70,7 +70,39 @@ namespace OpenTK.Input Button14, /// The sixteenth button of the JoystickDevice. Button15, + /// The seventeenth button of the JoystickDevice. + Button16, + /// The eighteenth button of the JoystickDevice. + Button17, + /// The nineteenth button of the JoystickDevice. + Button18, + /// The twentieth button of the JoystickDevice. + Button19, + /// The twentyfirst button of the JoystickDevice. + Button20, + /// The twentysecond button of the JoystickDevice. + Button21, + /// The twentythird button of the JoystickDevice. + Button22, + /// The twentyfourth button of the JoystickDevice. + Button23, + /// The twentyfifth button of the JoystickDevice. + Button24, + /// The twentysixth button of the JoystickDevice. + Button25, + /// The twentyseventh button of the JoystickDevice. + Button26, + /// The twentyeighth button of the JoystickDevice. + Button27, + /// The twentynineth button of the JoystickDevice. + Button28, + /// The thirtieth button of the JoystickDevice. + Button29, + /// The thirtyfirst button of the JoystickDevice. + Button30, + /// The thirtysecond button of the JoystickDevice. + Button31, /// The last supported button of the JoystickDevice. - Last = Button15, + Last = Button31, } }