code-disaster / steamworks4j

A thin Java wrapper to access the Steamworks API
https://code-disaster.github.io/steamworks4j/
MIT License
468 stars 64 forks source link

SetGameLauncherMode #120

Closed Trekopep closed 1 year ago

Trekopep commented 1 year ago

If possible, would like ISteamUtils SetGameLauncherMode to be implemented. From the documentation:

In game launchers that don't have controller support you can call this to have Steam Input translate the controller input into mouse/kb to navigate the launcher

For our use case, we have an in-game editor that isn't controller compatible. We're trying to get our game Steam Deck verified, and Valve recommended using that when the player opens the in-game editor.

Thanks!

Trekopep commented 1 year ago

@code-disaster Speedy, thanks!

I see the steamworks4j64.dll was updated, but it looks like it still doesn't include the method? When I try to call it, I get a java.lang.UnsatisfiedLinkError. image

code-disaster commented 1 year ago

I messed up the deployment - the native libraries did not include those changes. Should work now with the latest commit.