Fixed issues with one input bleeding into multiple inputs. Removed old redundant system where we can specify a menu to navigate to. Implemented controller compatibility for UserID menu. Release Build 7326.
This commit is contained in:
@@ -69,4 +69,17 @@ void Menu::InitializeUserIDWindow(){
|
||||
return true;
|
||||
})END
|
||||
->SetGrayedOut(true);
|
||||
|
||||
userIDWindow->SetupKeyboardNavigation(
|
||||
[](MenuType type,Data&returnData){ //On Open
|
||||
returnData="Submit Button";
|
||||
},
|
||||
{ //Button Key
|
||||
{game->KEY_CONTROLLER_START,{"Confirm ID","Submit Button"}},
|
||||
{{game->KEY_ENTER},{"Confirm ID",[](MenuType type){
|
||||
Component<MenuComponent>(type,"Submit Button")->Click();
|
||||
}}},
|
||||
{game->KEY_SELECT,{"Cancel","Back Button"}},
|
||||
},
|
||||
{});
|
||||
}
|
||||
Reference in New Issue
Block a user