Make joystick ID public

This commit is contained in:
cra0zy 2015-12-05 11:32:48 +01:00
parent bf74b7ea15
commit 306b9ff936

View file

@ -79,7 +79,15 @@ namespace OpenTK.Input
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);
}