#region License // // JoystickButton.cs // // Author: // Stefanos A. // // Copyright (c) 2006-2013 Stefanos Apostolopoulos // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. // #endregion using System; using System.Collections.Generic; using System.Text; namespace OpenTK.Input { /// /// Defines available JoystickDevice buttons. /// public enum JoystickButton { /// The first button of the JoystickDevice. Button0 = 0, /// The second button of the JoystickDevice. Button1, /// The third button of the JoystickDevice. Button2, /// The fourth button of the JoystickDevice. Button3, /// The fifth button of the JoystickDevice. Button4, /// The sixth button of the JoystickDevice. Button5, /// The seventh button of the JoystickDevice. Button6, /// The eighth button of the JoystickDevice. Button7, /// The ninth button of the JoystickDevice. Button8, /// The tenth button of the JoystickDevice. Button9, /// The eleventh button of the JoystickDevice. Button10, /// The twelfth button of the JoystickDevice. Button11, /// The thirteenth button of the JoystickDevice. Button12, /// The fourteenth button of the JoystickDevice. Button13, /// The fifteenth button of the JoystickDevice. 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 = Button31, } }