From 19ba88f1241a522303d03ab52efcb3956c0f1e16 Mon Sep 17 00:00:00 2001 From: Plextora <71889427+Plextora@users.noreply.github.com> Date: Sun, 18 Jun 2023 17:09:05 -0400 Subject: [PATCH] Fixed bug on first run of app On first run, no keystrokes would work because all of the key codes would be null. --- RVGLKeystrokes/Utils/Config.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/RVGLKeystrokes/Utils/Config.cs b/RVGLKeystrokes/Utils/Config.cs index bc5e871..929ccac 100644 --- a/RVGLKeystrokes/Utils/Config.cs +++ b/RVGLKeystrokes/Utils/Config.cs @@ -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() {