I thought of using some enums but it seems the very tedious way to do it though simple:
if (Keyboard.IsKeyDown(Key.hotkeyOne))
{
//DoX;
}
switch (HotkeysSel)
{
case CustomEnumNamespacex.HotkeysSelectorx.A_Letter:
{
hotkeyOne = "NumPad9";
break;
}
case CustomEnumNamespacex.HotkeysSelectorx.B_Letter:
{
hotkeyOne = "NumPad9";
break;
}
etc. for all keys... then multiplied by the number of hotkeys.
What better way is there available with NT8? Isn't there a hotkeys selector available (like those Nuget Packages)
If not what more direct way would you suggest to do it? Thanks!
Comment