diff --git a/GlitchyEngine/src/Input.bf b/GlitchyEngine/src/Input.bf index 1c4c4c2..17d4dbd 100644 --- a/GlitchyEngine/src/Input.bf +++ b/GlitchyEngine/src/Input.bf @@ -38,7 +38,7 @@ namespace GlitchyEngine public static extern int32 GetLastMouseY(); public static extern bool IsMouseButtonPressing(MouseButton button); - public static extern bool IsMouseButtonReleasiong(MouseButton button); + public static extern bool IsMouseButtonReleasing(MouseButton button); public static extern Point GetMouseMovement(); public static extern void NewFrame(); diff --git a/GlitchyEngine/src/Platform/Windows/WindowsInput.bf b/GlitchyEngine/src/Platform/Windows/WindowsInput.bf index 5482d47..95259eb 100644 --- a/GlitchyEngine/src/Platform/Windows/WindowsInput.bf +++ b/GlitchyEngine/src/Platform/Windows/WindowsInput.bf @@ -150,11 +150,10 @@ namespace GlitchyEngine // public override static bool IsMouseButtonPressing(MouseButton button) => IsMouseButtonPressed(button) && WasMouseButtonReleased(button); - public override static bool IsMouseButtonReleasiong(MouseButton button) => IsMouseButtonReleased(button) && WasMouseButtonPressed(button); + public override static bool IsMouseButtonReleasing(MouseButton button) => IsMouseButtonReleased(button) && WasMouseButtonPressed(button); public override static Point GetMouseMovement() => CurrentState.CursorPositionDifference; - //[CLink, CallingConvention(.Stdcall)] //static extern int16 GetKeyState(int32 keycode); [CLink, CallingConvention(.Stdcall)]