Skip to content

Commit

Permalink
should fix the controller problem
Browse files Browse the repository at this point in the history
  • Loading branch information
RickyB505 committed Feb 8, 2024
1 parent da0677e commit 5e423e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vMenu/MainMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,10 @@ public MainMenu()
{
MenuToggleKey = "M";
}

MenuController.MenuToggleKey = (Control)(-1); // disables the menu toggle key
RegisterKeyMapping($"vMenu:{KeyMappingID}:NoClip", "vMenu NoClip Toggle Button", "keyboard", NoClipKey);
RegisterKeyMapping($"vMenu:{KeyMappingID}:MenuToggle", "vMenu Toggle Button", "keyboard", MenuToggleKey);
RegisterKeyMapping($"vMenu:{KeyMappingID}:MenuToggle", "vMenu Toggle Button Controller", "pad_digitalbuttonany", "start_index");
#endregion
if (EnableExperimentalFeatures)
{
Expand Down

0 comments on commit 5e423e5

Please sign in to comment.