Skip to content

Commit

Permalink
use KeyCodeID for ConfigEntry
Browse files Browse the repository at this point in the history
  • Loading branch information
ck2739046 committed Mar 5, 2025
1 parent efefa5a commit 97df35e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AquaMai.Mods/GameSystem/KeyMap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ public static bool PreGetHasOnNow(ref bool __result)
private static readonly KeyCodeID Select_2P = (KeyCodeID)84;

[ConfigEntry]
private static readonly string Home = "Home";
private static readonly KeyCodeID Home = (KeyCodeID)94;

public static string GetHome() {return Home;}
public static string GetHome() {return Home.ToString();}

[HarmonyPatch(typeof(DB.JvsButtonTableRecord), MethodType.Constructor, typeof(int), typeof(string), typeof(string), typeof(int), typeof(string), typeof(int), typeof(int), typeof(int))]
[HarmonyPostfix]
Expand Down

0 comments on commit 97df35e

Please sign in to comment.