/// <summary> /// Retrieves the <see cref="JoystickCapabilities"/> of the device connected /// at the specified index. /// </summary> /// <returns> /// A <see cref="JoystickCapabilities"/> structure describing /// the capabilities of the device at the specified index. /// If no device is connected at the specified index, the <c>IsConnected</c> /// property of the returned structure will be false. /// </returns> /// <param name="index">The zero-based index of the device to poll.</param> public static JoystickCapabilities GetCapabilities(int index) { return(implementation.GetCapabilities(index)); }