Skip to content

Commit

Permalink
Add argument to use key scancodes on FNA
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalobi committed Sep 21, 2023
1 parent 46fd20c commit 5fdadfb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Celeste.Mod.mm/Mod/Everest/Everest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,10 @@ internal static void ParseArgs(string[] args) {
if (Enum.TryParse(queue.Dequeue(), ignoreCase: true, out LogLevel level))
Logger.SetLogLevelFromSettings("", level);
}

else if (arg == "--use-scancodes") {
Environment.SetEnvironmentVariable("FNA_KEYBOARD_USE_SCANCODES", "1");
}
}
}

Expand Down

0 comments on commit 5fdadfb

Please sign in to comment.