diff --git a/src/cs/MonoGame.Extended.Input/KeyboardExtended.cs b/src/cs/MonoGame.Extended.Input/KeyboardExtended.cs index 9635cc9c..0ed7c769 100644 --- a/src/cs/MonoGame.Extended.Input/KeyboardExtended.cs +++ b/src/cs/MonoGame.Extended.Input/KeyboardExtended.cs @@ -13,7 +13,7 @@ namespace MonoGame.Extended.Input return new KeyboardStateExtended(_currentKeyboardState, _previousKeyboardState); } - public static Refresh() + public static void Refresh() { _previousKeyboardState = _currentKeyboardState; _currentKeyboardState = Keyboard.GetState(); diff --git a/src/cs/MonoGame.Extended.Input/MouseExtended.cs b/src/cs/MonoGame.Extended.Input/MouseExtended.cs index 45c23763..61d6d181 100644 --- a/src/cs/MonoGame.Extended.Input/MouseExtended.cs +++ b/src/cs/MonoGame.Extended.Input/MouseExtended.cs @@ -15,7 +15,7 @@ namespace MonoGame.Extended.Input return new MouseStateExtended(_currentMouseState, _previousMouseState); } - public static Refresh() + public static void Refresh() { _previousMouseState = _currentMouseState; _currentMouseState = Mouse.GetState();