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

Add SteamUtils onFloatingGamepadTextInputDismissed() callback #118

Closed NateAustin closed 2 years ago

NateAustin commented 2 years ago

This callback is useful for steam deck compatibility (e.g. detect when the floating keyboard is dismissed so we can stop eating input events.)

tested on windows in big picture mode (new callback works correctly)

updated windows binaries only, built against steam sdk 1.55

I wasn't sure whether to include binaries in the commit, feel free to bounce back if that's annoying :-)

code-disaster commented 2 years ago

Yes, normally I defer pushing updated binaries for a while. You also missed a few tests implementing the interface. ;)

Anyway, cherry-picked & copied the code change. Thanks!