YoYoGames / GMEXT-Steamworks

Repository for GameMaker's Steamworks Extension
Other
62 stars 13 forks source link

Implement Steam Input, Gamepad keyboard UI and upgrade to new SDK #2

Closed nkrapivin closed 2 years ago

nkrapivin commented 2 years ago

Hello,

This PR implements Steam Input, Gamepad keyboard UI functionality into the extension and also upgrades to SDK 1.55.

GMLSteam/steam_input.cpp -> Steam Input API

GMLSteam/steam_utils.cpp -> Gamepad keyboards

Obj_Steam_Input, Room_Steam_Input -> Steam Input/kbd example in GML

This can be useful for GameMaker games that wish to support extended Steam Deck controls.

I see the extension PDF, but I don't see it's original form (HTML? LaTeX?) so I added some docs and type descriptions in the .cpp file.

I also suppose YoYo Games will compile the DLL themselves before shipping to customers, am I correct?

I noticed that for macOS, the Steamworks SDK headers are in the Xcode project? Even though that's wrong?

If you have any questions about the code I'm free to answer them,

DiasFranciscoA commented 2 years ago

@nkrapivin Hello, and first of all thank you so much for the contribution. We will look into closing and merging the PR in the following days. Regarding the documentation, we just pushed a version of the documentation to the Github Wiki format we will be using from now on, please refer to those if you need to update something (those will be compiled to the PDF format from time to time, for marketplace releases).

nkrapivin commented 2 years ago

I'm currently merging the wiki repo into my fork and writing a page about Steam Input, I'll submit a patch later.