From 6a2274adb1ce33137db98b911694e4aa876d2f04 Mon Sep 17 00:00:00 2001 From: void Date: Fri, 12 Jul 2019 14:44:02 -0500 Subject: [PATCH 01/23] Start of Input.ComCommon documentation From c29a540f1a3a87d6a9b04417e5433f7ede184acc Mon Sep 17 00:00:00 2001 From: void Date: Fri, 12 Jul 2019 14:44:02 -0500 Subject: [PATCH 02/23] Start of Input.Common documentation From cfad5e7523b882dd0658b258796529618cf72f23 Mon Sep 17 00:00:00 2001 From: void Date: Fri, 12 Jul 2019 14:56:48 -0500 Subject: [PATCH 03/23] Document most structs --- src/Input/Silk.NET.Input.Common/Axis.cs | 15 +++++++++++++++ src/Input/Silk.NET.Input.Common/Button.cs | 14 ++++++++++++++ src/Input/Silk.NET.Input.Common/Hat.cs | 15 +++++++++++++++ src/Input/Silk.NET.Input.Common/ScrollWheel.cs | 15 +++++++++++++++ src/Input/Silk.NET.Input.Common/Trigger.cs | 15 +++++++++++++++ 5 files changed, 74 insertions(+) diff --git a/src/Input/Silk.NET.Input.Common/Axis.cs b/src/Input/Silk.NET.Input.Common/Axis.cs index 1a953e0647..960baf8a8f 100644 --- a/src/Input/Silk.NET.Input.Common/Axis.cs +++ b/src/Input/Silk.NET.Input.Common/Axis.cs @@ -5,11 +5,26 @@ namespace Silk.NET.Input.Common { + /// + /// Represents an axis on a joystick. + /// public struct Axis { + /// + /// The index of this axis, used to determine which axis it is. + /// public int Index { get; } + + /// + /// The position of this axis. + /// public float Position { get; } + /// + /// Creates a new instance of the Axis struct. + /// + /// The index of the new axis. + /// The position of the new axis. public Axis(int index, float position) { Index = index; diff --git a/src/Input/Silk.NET.Input.Common/Button.cs b/src/Input/Silk.NET.Input.Common/Button.cs index 45275c5080..88478a5de8 100644 --- a/src/Input/Silk.NET.Input.Common/Button.cs +++ b/src/Input/Silk.NET.Input.Common/Button.cs @@ -5,10 +5,24 @@ namespace Silk.NET.Input.Common { + /// + /// Represents a joystick button. + /// public struct Button { + /// + /// The name of this button. Only guaranteed to be valid if this comes from an . + /// public ButtonName Name { get; } + + /// + /// The index of this button. Use this if this button comes from an . + /// public int Index { get; } + + /// + /// Whether or not this button is currently pressed. + /// public bool Pressed { get; } public Button(ButtonName name, int index, bool pressed) diff --git a/src/Input/Silk.NET.Input.Common/Hat.cs b/src/Input/Silk.NET.Input.Common/Hat.cs index a33676802d..ce586b8f93 100644 --- a/src/Input/Silk.NET.Input.Common/Hat.cs +++ b/src/Input/Silk.NET.Input.Common/Hat.cs @@ -5,11 +5,26 @@ namespace Silk.NET.Input.Common { + /// + /// Represents a joystick hat, a D-Pad. + /// public struct Hat { + /// + /// The index of this hat. + /// public int Index { get; } + + /// + /// The position of this hat. + /// public Position2D Position { get; } + /// + /// Creates a new instance of the Hat struct. + /// + /// The index of the hat. + /// The position of the hat. public Hat(int index, Position2D position) { Index = index; diff --git a/src/Input/Silk.NET.Input.Common/ScrollWheel.cs b/src/Input/Silk.NET.Input.Common/ScrollWheel.cs index 9d705dfec2..3e5f3540d9 100644 --- a/src/Input/Silk.NET.Input.Common/ScrollWheel.cs +++ b/src/Input/Silk.NET.Input.Common/ScrollWheel.cs @@ -5,11 +5,26 @@ namespace Silk.NET.Input.Common { + /// + /// Represents a scroll wheel. + /// public struct ScrollWheel { + /// + /// The X position of the scroll wheel. + /// public float X { get; } + + /// + /// The Y position of the scroll wheel. + /// public float Y { get; } + /// + /// Creates a new instance of the scroll wheel struct. + /// + /// The X position of the scroll wheel. + /// The Y position of the scroll wheel. public ScrollWheel(float x, float y) { X = x; diff --git a/src/Input/Silk.NET.Input.Common/Trigger.cs b/src/Input/Silk.NET.Input.Common/Trigger.cs index 3d75e2647c..c361a51d34 100644 --- a/src/Input/Silk.NET.Input.Common/Trigger.cs +++ b/src/Input/Silk.NET.Input.Common/Trigger.cs @@ -5,11 +5,26 @@ namespace Silk.NET.Input.Common { + /// + /// Represents a trigger. + /// public struct Trigger { + /// + /// The index of this trigger. + /// public int Index { get; } + + /// + /// The position of this trigger; how far down it's currently pressed. + /// public float Position { get; } + /// + /// Creates a new instance of the Trigger struct. + /// + /// The index of this trigger. + /// The position of this trigger. public Trigger(int index, float position) { Index = index; From f56e516d9d13cad00e3ab96a798f2eb1363c4b71 Mon Sep 17 00:00:00 2001 From: void Date: Fri, 12 Jul 2019 15:45:18 -0500 Subject: [PATCH 04/23] Remove mention of d-pad --- src/Input/Silk.NET.Input.Common/Hat.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Input/Silk.NET.Input.Common/Hat.cs b/src/Input/Silk.NET.Input.Common/Hat.cs index ce586b8f93..0af7b7bc3a 100644 --- a/src/Input/Silk.NET.Input.Common/Hat.cs +++ b/src/Input/Silk.NET.Input.Common/Hat.cs @@ -6,7 +6,7 @@ namespace Silk.NET.Input.Common { /// - /// Represents a joystick hat, a D-Pad. + /// Represents a joystick hat. /// public struct Hat { From cb7422599e2a9ed8b9f27c48ee833d6f414f9274 Mon Sep 17 00:00:00 2001 From: void Date: Fri, 12 Jul 2019 15:51:34 -0500 Subject: [PATCH 05/23] Change some key names for parity with input --- src/Windowing/Silk.NET.GLFW/Enums/Keys.cs | 54 +++++++++++------------ 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/src/Windowing/Silk.NET.GLFW/Enums/Keys.cs b/src/Windowing/Silk.NET.GLFW/Enums/Keys.cs index 01d976a6fe..8b2d8a7edf 100644 --- a/src/Windowing/Silk.NET.GLFW/Enums/Keys.cs +++ b/src/Windowing/Silk.NET.GLFW/Enums/Keys.cs @@ -53,47 +53,47 @@ public enum Keys /// /// The 1 key. /// - D1 = 49, + Number1 = 49, /// /// The 2 key. /// - D2 = 50, + Number2 = 50, /// /// The 3 key. /// - D3 = 51, + Number3 = 51, /// /// The 4 key. /// - D4 = 52, + Number4 = 52, /// /// The 5 key. /// - D5 = 53, + Number5 = 53, /// /// The 6 key. /// - D6 = 54, + Number6 = 54, /// /// The 7 key. /// - D7 = 55, + Number7 = 55, /// /// The 8 key. /// - D8 = 56, + Number8 = 56, /// /// The 9 key. /// - D9 = 57, + Number9 = 57, /// /// The semicolon key. @@ -243,7 +243,7 @@ public enum Keys /// /// The backslash. /// - Backslash = 92 /* \ */, + BackSlash = 92 /* \ */, /// /// The right bracket(closing bracket) key. @@ -488,87 +488,87 @@ public enum Keys /// /// The 0 key on the key pad. /// - KeyPad0 = 320, + Keypad0 = 320, /// /// The 1 key on the key pad. /// - KeyPad1 = 321, + Keypad1 = 321, /// /// The 2 key on the key pad. /// - KeyPad2 = 322, + Keypad2 = 322, /// /// The 3 key on the key pad. /// - KeyPad3 = 323, + Keypad3 = 323, /// /// The 4 key on the key pad. /// - KeyPad4 = 324, + Keypad4 = 324, /// /// The 5 key on the key pad. /// - KeyPad5 = 325, + Keypad5 = 325, /// /// The 6 key on the key pad. /// - KeyPad6 = 326, + Keypad6 = 326, /// /// The 7 key on the key pad. /// - KeyPad7 = 327, + Keypad7 = 327, /// /// The 8 key on the key pad. /// - KeyPad8 = 328, + Keypad8 = 328, /// /// The 9 key on the key pad. /// - KeyPad9 = 329, + Keypad9 = 329, /// /// The decimal key on the key pad. /// - KeyPadDecimal = 330, + KeypadDecimal = 330, /// /// The divide key on the key pad. /// - KeyPadDivide = 331, + KeypadDivide = 331, /// /// The multiply key on the key pad. /// - KeyPadMultiply = 332, + KeypadMultiply = 332, /// /// The subtract key on the key pad. /// - KeyPadSubtract = 333, + KeypadSubtract = 333, /// /// The add key on the key pad. /// - KeyPadAdd = 334, + KeypadAdd = 334, /// /// The enter key on the key pad. /// - KeyPadEnter = 335, + KeypadEnter = 335, /// /// The equal key on the key pad. /// - KeyPadEqual = 336, + KeypadEqual = 336, /// /// The left shift key. From bebc93583be5bd7a935459c5413ecbdc6edad9c4 Mon Sep 17 00:00:00 2001 From: void Date: Fri, 12 Jul 2019 15:54:46 -0500 Subject: [PATCH 06/23] Make Position2D powers of two --- src/Input/Silk.NET.Input.Common/Enums/Position2D.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Input/Silk.NET.Input.Common/Enums/Position2D.cs b/src/Input/Silk.NET.Input.Common/Enums/Position2D.cs index 1a8d6e0da0..ccaa7412c6 100644 --- a/src/Input/Silk.NET.Input.Common/Enums/Position2D.cs +++ b/src/Input/Silk.NET.Input.Common/Enums/Position2D.cs @@ -10,10 +10,10 @@ namespace Silk.NET.Input.Common [Flags] public enum Position2D { - Up, - Down, - Left, - Right, + Up = 1, + Down = 2, + Left = 4, + Right = 8, UpLeft = Up | Left, UpRight = Up | Right, From c5fbda52cc5a2b1932d854a55827a5a68c20c02a Mon Sep 17 00:00:00 2001 From: void Date: Fri, 12 Jul 2019 16:04:18 -0500 Subject: [PATCH 07/23] Document enums --- .../Silk.NET.Input.Common/Enums/ButtonName.cs | 3 ++ .../Enums/DeadzoneMethod.cs | 29 +++++++++++++++++-- src/Input/Silk.NET.Input.Common/Enums/Key.cs | 8 +++++ .../Enums/MouseButton.cs | 8 +++++ .../Silk.NET.Input.Common/Enums/Position2D.cs | 3 ++ 5 files changed, 49 insertions(+), 2 deletions(-) diff --git a/src/Input/Silk.NET.Input.Common/Enums/ButtonName.cs b/src/Input/Silk.NET.Input.Common/Enums/ButtonName.cs index 39a7680dd2..481dac440e 100644 --- a/src/Input/Silk.NET.Input.Common/Enums/ButtonName.cs +++ b/src/Input/Silk.NET.Input.Common/Enums/ButtonName.cs @@ -5,6 +5,9 @@ namespace Silk.NET.Input.Common { + /// + /// The different names a can have. + /// public enum ButtonName { A, diff --git a/src/Input/Silk.NET.Input.Common/Enums/DeadzoneMethod.cs b/src/Input/Silk.NET.Input.Common/Enums/DeadzoneMethod.cs index cac6bfca41..d3b7b716dc 100644 --- a/src/Input/Silk.NET.Input.Common/Enums/DeadzoneMethod.cs +++ b/src/Input/Silk.NET.Input.Common/Enums/DeadzoneMethod.cs @@ -5,11 +5,36 @@ namespace Silk.NET.Input.Common { + /// + /// Available methods to control the deadzone of a control stick. + /// public enum DeadzoneMethod { - // y = x except where |x| is between 0 and d (the deadzone value) + /// + /// The traditional deadzone method. + /// + /// + /// + /// y = x except where |x| is between 0 and d + /// + /// + /// y is the output, x is the raw value, and d is the deadzone value. + /// + /// Traditional, - // y = (1 - d)x + (d * sgn(x)) + + /// + /// A more adaptive deadzone method; if the value is within the deadzone, equal to 0. After exiting the + /// deadzone, the output increases linearly. + /// + /// + /// + /// y = (1 - d)x + (d * sgn(x)) + /// + /// + /// y is the output, x is the raw value, and d is the deadzone value. + /// + /// AdaptiveGradient } } \ No newline at end of file diff --git a/src/Input/Silk.NET.Input.Common/Enums/Key.cs b/src/Input/Silk.NET.Input.Common/Enums/Key.cs index 1f4840d6c1..18e4e2aa4e 100644 --- a/src/Input/Silk.NET.Input.Common/Enums/Key.cs +++ b/src/Input/Silk.NET.Input.Common/Enums/Key.cs @@ -5,6 +5,14 @@ namespace Silk.NET.Input.Common { + /// + /// Represents the keys on a keyboard. + /// + /// + /// + /// The exact number of function keys provided depends on the current input backend. + /// + /// public enum Key { Unknown = 0, diff --git a/src/Input/Silk.NET.Input.Common/Enums/MouseButton.cs b/src/Input/Silk.NET.Input.Common/Enums/MouseButton.cs index e20ef5870f..3041befcad 100644 --- a/src/Input/Silk.NET.Input.Common/Enums/MouseButton.cs +++ b/src/Input/Silk.NET.Input.Common/Enums/MouseButton.cs @@ -5,6 +5,14 @@ namespace Silk.NET.Input.Common { + /// + /// Represents the indices of the mouse buttons. + /// + /// + /// + /// The number of buttons provided depends on the input backend currently being used. + /// + /// public enum MouseButton { Left, diff --git a/src/Input/Silk.NET.Input.Common/Enums/Position2D.cs b/src/Input/Silk.NET.Input.Common/Enums/Position2D.cs index ccaa7412c6..2e82a5ea99 100644 --- a/src/Input/Silk.NET.Input.Common/Enums/Position2D.cs +++ b/src/Input/Silk.NET.Input.Common/Enums/Position2D.cs @@ -7,6 +7,9 @@ namespace Silk.NET.Input.Common { + /// + /// Represents the position of a joystick + /// [Flags] public enum Position2D { From 9e203b07e40f84c9421e32b86354b1f25fa86258 Mon Sep 17 00:00:00 2001 From: void Date: Fri, 12 Jul 2019 16:41:44 -0500 Subject: [PATCH 08/23] Document interfaces and Deadzone --- src/Input/Silk.NET.Input.Common/Deadzone.cs | 15 ++++++++ .../Interfaces/IGamepad.cs | 36 ++++++++++++++++++- .../Interfaces/IInputContext.cs | 26 ++++++++++++++ .../Interfaces/IInputDevice.cs | 18 ++++++++++ .../Interfaces/IInputPlatform.cs | 14 ++++++++ .../Interfaces/IJoystick.cs | 34 ++++++++++++++++++ .../Interfaces/IKeyboard.cs | 26 ++++++++++++++ .../Interfaces/IMouse.cs | 28 +++++++++++++++ 8 files changed, 196 insertions(+), 1 deletion(-) diff --git a/src/Input/Silk.NET.Input.Common/Deadzone.cs b/src/Input/Silk.NET.Input.Common/Deadzone.cs index 9b0f1b57d0..e7b0fc39cf 100644 --- a/src/Input/Silk.NET.Input.Common/Deadzone.cs +++ b/src/Input/Silk.NET.Input.Common/Deadzone.cs @@ -5,11 +5,26 @@ namespace Silk.NET.Input.Common { + /// + /// The deadzone to use for a joystick/gamepad's sticks. + /// public struct Deadzone { + /// + /// The size of the deadzone to use. + /// public float Value { get; } + + /// + /// The deadzone method to use. + /// public DeadzoneMethod Method { get; } + /// + /// Creates a new instance of the Deadzone struct. + /// + /// The deadzone size. + /// The deadzone method. public Deadzone(float value, DeadzoneMethod method) { Value = value; diff --git a/src/Input/Silk.NET.Input.Common/Interfaces/IGamepad.cs b/src/Input/Silk.NET.Input.Common/Interfaces/IGamepad.cs index e798a64f82..3745aa0aaa 100644 --- a/src/Input/Silk.NET.Input.Common/Interfaces/IGamepad.cs +++ b/src/Input/Silk.NET.Input.Common/Interfaces/IGamepad.cs @@ -8,15 +8,49 @@ namespace Silk.NET.Input.Common { + /// + /// Represents a gamepad/controller with a set amount of thumbsticks, buttons, and triggers. + /// public interface IGamepad : IInputDevice { + /// + /// A list of all available buttons. + /// IReadOnlyCollection /// /// - /// The exact number of function keys provided depends on the current input backend. + /// When using some backends, only a certain number of function keys may be available. For example, if the backend only supports up to F12, events regarding F13 through F35 will never be raised. /// /// public enum Key @@ -163,4 +163,4 @@ public enum Key NonUSBackSlash, LastKey } -} \ No newline at end of file +} From 50a42bc343404571035ea3fba65126303bf3a228 Mon Sep 17 00:00:00 2001 From: Void <33298798+devvoid@users.noreply.github.com> Date: Sat, 13 Jul 2019 17:00:37 -0500 Subject: [PATCH 15/23] Update src/Input/Silk.NET.Input.Common/Interfaces/IGamepad.cs Co-Authored-By: Dylan Perks --- src/Input/Silk.NET.Input.Common/Interfaces/IGamepad.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Input/Silk.NET.Input.Common/Interfaces/IGamepad.cs b/src/Input/Silk.NET.Input.Common/Interfaces/IGamepad.cs index b2d8d64faa..44b2bef007 100644 --- a/src/Input/Silk.NET.Input.Common/Interfaces/IGamepad.cs +++ b/src/Input/Silk.NET.Input.Common/Interfaces/IGamepad.cs @@ -36,6 +36,9 @@ public interface IGamepad : IInputDevice /// /// Called when a button is pressed. /// + /// + /// This event is only called when the button is first pressed, and not every frame where the button is still pressed. + /// event Action ButtonDown; /// From 46a6eb396c953d54499ad8a503c30275228954c8 Mon Sep 17 00:00:00 2001 From: Void <33298798+devvoid@users.noreply.github.com> Date: Sat, 13 Jul 2019 17:00:45 -0500 Subject: [PATCH 16/23] Update src/Input/Silk.NET.Input.Common/Interfaces/IJoystick.cs Co-Authored-By: Dylan Perks --- src/Input/Silk.NET.Input.Common/Interfaces/IJoystick.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Input/Silk.NET.Input.Common/Interfaces/IJoystick.cs b/src/Input/Silk.NET.Input.Common/Interfaces/IJoystick.cs index 3197857575..e722088af5 100644 --- a/src/Input/Silk.NET.Input.Common/Interfaces/IJoystick.cs +++ b/src/Input/Silk.NET.Input.Common/Interfaces/IJoystick.cs @@ -24,7 +24,7 @@ public interface IJoystick : IInputDevice IReadOnlyCollection event Action HatMoved; } -} \ No newline at end of file +} From 4ad63a8477234098ff62c11d33b8380f4c02c0e3 Mon Sep 17 00:00:00 2001 From: Void <33298798+devvoid@users.noreply.github.com> Date: Sat, 13 Jul 2019 17:00:54 -0500 Subject: [PATCH 17/23] Update src/Input/Silk.NET.Input.Common/Interfaces/IGamepad.cs Co-Authored-By: Dylan Perks --- src/Input/Silk.NET.Input.Common/Interfaces/IGamepad.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Input/Silk.NET.Input.Common/Interfaces/IGamepad.cs b/src/Input/Silk.NET.Input.Common/Interfaces/IGamepad.cs index 44b2bef007..e546fc4171 100644 --- a/src/Input/Silk.NET.Input.Common/Interfaces/IGamepad.cs +++ b/src/Input/Silk.NET.Input.Common/Interfaces/IGamepad.cs @@ -44,6 +44,9 @@ public interface IGamepad : IInputDevice /// /// Called when a button is released. /// + /// + /// This event is only called when the button is first released, and not every frame where the button is still released. + /// event Action ButtonUp; /// From 273786e3ea257aee6a6814a7ce5bc44daa6324c4 Mon Sep 17 00:00:00 2001 From: Void <33298798+devvoid@users.noreply.github.com> Date: Sat, 13 Jul 2019 17:01:01 -0500 Subject: [PATCH 18/23] Update src/Input/Silk.NET.Input.Common/Interfaces/IJoystick.cs Co-Authored-By: Dylan Perks --- src/Input/Silk.NET.Input.Common/Interfaces/IJoystick.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Input/Silk.NET.Input.Common/Interfaces/IJoystick.cs b/src/Input/Silk.NET.Input.Common/Interfaces/IJoystick.cs index e722088af5..28b4fb7b0c 100644 --- a/src/Input/Silk.NET.Input.Common/Interfaces/IJoystick.cs +++ b/src/Input/Silk.NET.Input.Common/Interfaces/IJoystick.cs @@ -36,6 +36,9 @@ public interface IJoystick : IInputDevice /// /// Called when a button on this joystick is pressed. /// + /// + /// This event is only called when the button is first pressed, and not every frame where the button is still pressed. + /// event Action ButtonDown; /// From f523602b7b601f9c44e14339c7c185b7a27fe878 Mon Sep 17 00:00:00 2001 From: Void <33298798+devvoid@users.noreply.github.com> Date: Sat, 13 Jul 2019 17:01:08 -0500 Subject: [PATCH 19/23] Update src/Input/Silk.NET.Input.Common/Interfaces/IJoystick.cs Co-Authored-By: Dylan Perks --- src/Input/Silk.NET.Input.Common/Interfaces/IJoystick.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Input/Silk.NET.Input.Common/Interfaces/IJoystick.cs b/src/Input/Silk.NET.Input.Common/Interfaces/IJoystick.cs index 28b4fb7b0c..ca3fda4ece 100644 --- a/src/Input/Silk.NET.Input.Common/Interfaces/IJoystick.cs +++ b/src/Input/Silk.NET.Input.Common/Interfaces/IJoystick.cs @@ -44,6 +44,9 @@ public interface IJoystick : IInputDevice /// /// Called when a button on this joystick is released. /// + /// + /// This event is only called when the button is first released, and not every frame where the button is still released. + /// event Action ButtonUp; /// From 2aa3232fc11613cb39feb1578eda2cd5fb5e518f Mon Sep 17 00:00:00 2001 From: Void <33298798+devvoid@users.noreply.github.com> Date: Sat, 13 Jul 2019 17:01:41 -0500 Subject: [PATCH 20/23] Update src/Input/Silk.NET.Input.Common/Interfaces/IInputPlatform.cs Co-Authored-By: Dylan Perks --- .../Silk.NET.Input.Common/Interfaces/IInputPlatform.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/Input/Silk.NET.Input.Common/Interfaces/IInputPlatform.cs b/src/Input/Silk.NET.Input.Common/Interfaces/IInputPlatform.cs index bfad3f2b7c..24f3dce56b 100644 --- a/src/Input/Silk.NET.Input.Common/Interfaces/IInputPlatform.cs +++ b/src/Input/Silk.NET.Input.Common/Interfaces/IInputPlatform.cs @@ -17,6 +17,13 @@ public interface IInputPlatform /// /// The window to check. /// Whether or not this platform is applicable. + /// + /// Generally, each Input package will also have a matching Windowing package, + /// and the Input package will reference the Windowing package. IsApplicable works + /// by checking that the given window is an instance created by the Windowing + /// package the Input package references. For example, GlfwInputPlatform will only + /// be applicable for a GlfwWindow. + /// bool IsApplicable(IWindow window); /// @@ -26,4 +33,4 @@ public interface IInputPlatform /// The context. IInputContext GetInput(IWindow window); } -} \ No newline at end of file +} From e9b89a6fdd7bc791cf324cf63f8c433d9bd701c4 Mon Sep 17 00:00:00 2001 From: Void <33298798+devvoid@users.noreply.github.com> Date: Sat, 13 Jul 2019 17:01:49 -0500 Subject: [PATCH 21/23] Update src/Input/Silk.NET.Input.Common/Interfaces/IJoystick.cs Co-Authored-By: Dylan Perks --- src/Input/Silk.NET.Input.Common/Interfaces/IJoystick.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Input/Silk.NET.Input.Common/Interfaces/IJoystick.cs b/src/Input/Silk.NET.Input.Common/Interfaces/IJoystick.cs index ca3fda4ece..4e241d8933 100644 --- a/src/Input/Silk.NET.Input.Common/Interfaces/IJoystick.cs +++ b/src/Input/Silk.NET.Input.Common/Interfaces/IJoystick.cs @@ -14,7 +14,7 @@ namespace Silk.NET.Input.Common public interface IJoystick : IInputDevice { /// - /// A list of all axes supported by this joystick. + /// A list of all axes reported by this joystick. /// IReadOnlyCollection Axes { get; } From 0bd92d9c8e9a0a55aba26e04f975ae54c991e6f6 Mon Sep 17 00:00:00 2001 From: Void <33298798+devvoid@users.noreply.github.com> Date: Sat, 13 Jul 2019 17:01:57 -0500 Subject: [PATCH 22/23] Update src/Input/Silk.NET.Input.Common/Interfaces/IJoystick.cs Co-Authored-By: Dylan Perks --- src/Input/Silk.NET.Input.Common/Interfaces/IJoystick.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Input/Silk.NET.Input.Common/Interfaces/IJoystick.cs b/src/Input/Silk.NET.Input.Common/Interfaces/IJoystick.cs index 4e241d8933..456452a51c 100644 --- a/src/Input/Silk.NET.Input.Common/Interfaces/IJoystick.cs +++ b/src/Input/Silk.NET.Input.Common/Interfaces/IJoystick.cs @@ -19,7 +19,7 @@ public interface IJoystick : IInputDevice IReadOnlyCollection Axes { get; } /// - /// A list of all buttons supported by this joystick. + /// A list of all buttons reported by this joystick. /// IReadOnlyCollection