Skip to content

QuickSettings on SteamDeck does not trigger GameOverlayActivated_t #20

Description

@nick5454

Using code found here https://steamworks.github.io/gettingstarted/ This only works for the Steam button, but not for the Quick Settings button. Is there another callback that should be used to detect the QuickSettings button overlay?

Example
`public class SteamScript : MonoBehaviour {
protected Callback<GameOverlayActivated_t> m_GameOverlayActivated;

private void OnEnable() {
	if (SteamManager.Initialized) {
		m_GameOverlayActivated = Callback<GameOverlayActivated_t>.Create(OnGameOverlayActivated);
	}
}

private void OnGameOverlayActivated(GameOverlayActivated_t pCallback) {
	if(pCallback.m_bActive != 0) {
		Debug.Log("Steam Overlay has been activated");
	}
	else {
		Debug.Log("Steam Overlay has been closed");
	}
}

}`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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