mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-11 05:35:35 +00:00
Make joystick ID public
This commit is contained in:
parent
bf74b7ea15
commit
306b9ff936
|
@ -79,7 +79,15 @@ namespace OpenTK.Input
|
||||||
return implementation.GetState(index);
|
return implementation.GetState(index);
|
||||||
}
|
}
|
||||||
|
|
||||||
internal static Guid GetGuid(int index)
|
/// <summary>
|
||||||
|
/// Retrieves the ID of the device connected
|
||||||
|
/// at the specified index.
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>
|
||||||
|
/// A <see cref="Guid"/> representing the id of the connected device.
|
||||||
|
/// </returns>
|
||||||
|
/// <param name="index">The zero-based index of the device to poll.</param>
|
||||||
|
public static Guid GetGuid(int index)
|
||||||
{
|
{
|
||||||
return implementation.GetGuid(index);
|
return implementation.GetGuid(index);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue