/// <summary> /// Gets the binding for the button. /// </summary> /// <param name="button">The button.</param> /// <returns>The binding.</returns> public GameControllerBinding?GetButtonBinding(GameControllerButton button) => GameControllerBinding.FromNative(Native.SDL_GameControllerGetBindForButton(Pointer, button));
/// <summary> /// Gets the binding for the axis. /// </summary> /// <param name="axis">The axis.</param> /// <returns>The binding.</returns> public GameControllerBinding?GetAxisBinding(GameControllerAxis axis) => GameControllerBinding.FromNative(Native.SDL_GameControllerGetBindForAxis(Pointer, axis));