Skip to content

Import IsSteamRunningOnSteamDeck() function #1

@Crystal-Shard

Description

@Crystal-Shard

Steam supports the "Steam Deck", a handheld computer that plays numerous games. However, it has different input devices than a standard computer, i.e. a touchscreen and controller joypad/buttons. The main goal here is to skip (or show an alternative approach) for game functionality that requires the keyboard, such as "name entry" screens. For that purpose, it would be great if the following function from steam_api.dll is made available in AGS scrips:

IsSteamRunningOnSteamDeck
bool IsSteamRunningOnSteamDeck();
Checks if Steam is running on a Steam Deck device.

Returns: bool
true if Steam itself is running on a Steam Deck device; otherwise, false.

See also: https://partner.steamgames.com/doc/api/ISteamUtils

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions