Skip to content
This repository has been archived by the owner on Sep 18, 2022. It is now read-only.

Commit

Permalink
Fixed IsKeyDown method name
Browse files Browse the repository at this point in the history
  • Loading branch information
craftersmine committed Feb 27, 2019
1 parent cc2780a commit 7e71b23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion craftersmine.EtherEngine.Input/Keyboard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public sealed class Keyboard
{
public static KeyboardDevice KeyboardDevice { get; set; }

public static bool IsKeyPressed(Key key)
public static bool IsKeyDown(Key key)
{
return KeyboardDevice[(OpenTK.Input.Key)key];
}
Expand Down

0 comments on commit 7e71b23

Please sign in to comment.