Skip to content

Commit

Permalink
Fixed bug on first run of app
Browse files Browse the repository at this point in the history
On first run, no keystrokes would work because all of the key codes would be null.
  • Loading branch information
Plextora committed Jun 18, 2023
1 parent 9bdf8f8 commit 19ba88f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions RVGLKeystrokes/Utils/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ namespace RVGLKeystrokes.Utils
{
public class Config
{
public static Keys AccelerateKeyCode;
public static Keys ReverseKeyCode;
public static Keys LeftKeyCode;
public static Keys RightKeyCode;
public static Keys FireKeyCode;
public static Keys FlipKeyCode;
public static Keys RepositionKeyCode;
public static Keys RearKeyCode;
public static Keys AccelerateKeyCode = Keys.Up;
public static Keys ReverseKeyCode = Keys.Down;
public static Keys LeftKeyCode = Keys.Left;
public static Keys RightKeyCode = Keys.Right;
public static Keys FireKeyCode = Keys.LControlKey;
public static Keys FlipKeyCode = Keys.End;
public static Keys RepositionKeyCode = Keys.Home;
public static Keys RearKeyCode = Keys.Delete;

public static void InitConfig()
{
Expand Down

0 comments on commit 19ba88f

Please sign in to comment.