From 306b9ff936369ecbf6c288097f31611f574c78a1 Mon Sep 17 00:00:00 2001 From: cra0zy Date: Sat, 5 Dec 2015 11:32:48 +0100 Subject: [PATCH] Make joystick ID public --- Source/OpenTK/Input/Joystick.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Source/OpenTK/Input/Joystick.cs b/Source/OpenTK/Input/Joystick.cs index f9063420..3c79105b 100644 --- a/Source/OpenTK/Input/Joystick.cs +++ b/Source/OpenTK/Input/Joystick.cs @@ -79,7 +79,15 @@ namespace OpenTK.Input return implementation.GetState(index); } - internal static Guid GetGuid(int index) + /// + /// Retrieves the ID of the device connected + /// at the specified index. + /// + /// + /// A representing the id of the connected device. + /// + /// The zero-based index of the device to poll. + public static Guid GetGuid(int index) { return implementation.GetGuid(index); }