Example #1
0
    public string GetGamepadTextInput()
    {
        IUtils utils = Steamworks.SteamInterface.Utils;

        bGamepadTextInputDismissed = false;

        if (utils.ShowGamepadTextInput(GamepadTextInputMode.NormalMode, GamepadTextInputLineMode.SingleLine, "Example text input", 64))
        {
            while (!bGamepadTextInputDismissed)
            {
            }
        }

        return(utils.GetEnteredGamepadTextInput().Text);
    }