Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to listen for the GameOverlayActivated_t event? #144

Open
scottcanoni opened this issue May 5, 2024 · 0 comments
Open

Is it possible to listen for the GameOverlayActivated_t event? #144

scottcanoni opened this issue May 5, 2024 · 0 comments

Comments

@scottcanoni
Copy link

I am trying to listen for the GameOverlayActivated_t event that is triggered when the Steam Overlay is either opened or closed.

Is this possible with steamworks.js currently? I am having a hard time reading the documentation and understanding what is possible via the declarations file. Some examples would help me.

I tried registering callbacks but it seems you can only register 0 through 9 of what steamworks.js supports?

client.callback.register(0, (...args) => {
    console.log('triggered', args);
});

But I can't seem to listen for when the Steam Overlay opens (or closes). Any advice?

https://partner.steamgames.com/doc/api/ISteamFriends#GameOverlayActivated_t

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant