Page cover

BigPicture.Client

Working with Steam's BigPicture Mode

Like what your seeing?

Introduction

using BigPicture = HeathenEngineering.SteamworksIntegration.API.BigPicture.Client;
public static class BigPicture.Client

This leverages features of ISteamUtil to simplify working in Steam's BigPicture mode. In particular tests for "IsBigPicutre", "RunningOnStemDeck" and handling Gamepad Text Input.

Events

EventGamepadTextInputShown

This is invoked when the Gamepad Text Input feature of Steam's Big Picture mode is displayed to the user. This only occurs when your game triggers it by calling ShowTextInput.

public static UnityEvent EventGamepadTextInputShow => get;

This event has no arguments so its handler is simply

void HandleGamepadTextInputShownEvent()
{
    // Do work when the Gamepad Text Input is shown
}

EventGamepadTextInputDismissed

This is invoked when the Gamepad Text Input feature of Steam's Big Picture mode is dismissed e.g. closed and carries the resulting text it captured.

This event has 1 argument of type string so its handle should take the form of

Fields and Attributes

InBigPicture

Returns true if the Steam client is running in Big Picture mode.

RunningOnDeck

Returns true if the app is running on a Steam Deck

Methods

ShowTextInput

Activates the big picture text input dialog which only supports gamepad input.

Returns true if the client is in Big Picture mode false otherwise

inputMode

Selects the input mode to use, either Normal or Password (hidden text)

lineMode

Controls whether to use single or multi line input.

description

Sets the description that should inform the user what the input dialog is for.

maxLength

The maximum number of characters that the user can input.

currentText

Sets the pre-existing text which the user can edit.

Last updated