SteamworksPy icon indicating copy to clipboard operation
SteamworksPy copied to clipboard

Add SteamInput's SetInputActionManifestFilePath

Open zhulik opened this issue 2 years ago • 2 comments

The method is not documented in steamworks docs. It allows one to provide SteamInput with a vdf manifest describing controller actions.

It is extremely useful when you are not a real steam developer, but still want to play with steam input on your steam deck

Usage:

if not STEAMWORKS.Input.SetInputActionManifestFilePath(ABSOLUTE_PATH_TO_VDF_FILE):
    raise InitError("cannot load vdf")

Any ways we can build it on CI? I mean can we legally use the steamworks SDK for it?

zhulik avatar May 14 '23 10:05 zhulik

Hey @zhulik,

Adding this function is not a problem. I will have to review your makefile changes to check for cross-platform compatibility though.

CI is currently not set up as the Steamworks source files can not be re-published. At least to the last time I contacted them about it, so I will gonna push out a new release after checking everything.

Thank you for the PR!

philippj avatar May 14 '23 10:05 philippj

@philippj the Makefile is linux-specific anyway, my change just asks make to only compile the so when the cpp file changes

zhulik avatar May 14 '23 10:05 zhulik