// // GamepadState.cs // // Copyright (C) 2019 OpenTK // // This software may be modified and distributed under the terms // of the MIT license. See the LICENSE file for details. // namespace OpenToolkit.GraphicsLibraryFramework { /// /// This describes the input state of a gamepad. /// public struct GamepadState { /// /// State of each of the 15 gamepad buttons, equal to or . /// public unsafe fixed byte Buttons[15]; /// /// State of each of the 6 gamepad axes, ranging from -1.0 to 1.0. /// public unsafe fixed float Axes[6]; } }