Opentk/Source/OpenTK/Input/IGamePadDriver.cs
2013-12-24 17:18:00 +01:00

23 lines
748 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace OpenTK.Input
{
interface IGamePadDriver
{
GamePadState GetState(int index);
GamePadCapabilities GetCapabilities(int index);
/// <summary>
/// Retrieves the device name for the gamepad device.
/// </summary>
/// <param name="index">The index of the gamepad device.</param>
/// <returns>A <see cref="System.String"/> with the name of the specified device or <see cref="System.String.Empty"/>.</returns>
/// <remarks>
/// <para>If no device exists at the specified index, the return value is <see cref="System.String.Empty"/>.</para></remarks>
string GetName(int index);
}
}