mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-26 04:25:30 +00:00
26 lines
812 B
C#
26 lines
812 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);
|
|
|
|
bool SetVibration(int index, float left, float right);
|
|
}
|
|
}
|