Giter Club home page Giter Club logo

Comments (3)

OvermindDL1 avatar OvermindDL1 commented on August 17, 2024

Interestingly, STEAM_INPUT_HANDLE_ALL_CONTROLLERS is also missing? Wonder how bindgen missed that, is it missing from the C flat source?

from steamworks-rs.

kristoff3r avatar kristoff3r commented on August 17, 2024

Following along with the SteamInput docs starting with https://partner.steamgames.com/doc/features/steam_controller/getting_started_for_devs going on to https://partner.steamgames.com/doc/api/ISteamInput and others and finding that many of the functions are missing from Input<Manager> including, but not limited to, getting origin data, glyph data, remote play session ID from input ID, vibration, haptics, etc. How are we intended to access these? Is there an extension trait for Input somewhere that I'm failing in finding? The version of steamworks-rs mapping to the steamworks SDK seems to be 1.54 that should have the functions in the steamworks docs above?

While steamworks-sys should have basically the entire API, the safe bindings only have the things that people have needed and contributed in the past, so lots of stuff is missing. Feel free to open PRs or issues for anything that's missing.

In addition it looks like the MSRV is modern enough to support some safer functionality, like sized arrays and so forth of the things I've been accessing so far? How open are you to API change PR's that use modern rust features?

I'd be happy to review and merge stuff like that. I haven't been involved in this project for very long so I don't know if there is a policy or expectation for a certain MSRV, but I'd be in favor of raising it as well if it allows us to make a better / safer API.

from steamworks-rs.

OvermindDL1 avatar OvermindDL1 commented on August 17, 2024

the safe bindings only have the things that people have needed and contributed in the past, so lots of stuff is missing. Feel free to open PRs or issues for anything that's missing.

Ah awesome, surprising that no one has needed the origin information yet (are they just not displaying the bound key information?).

but I'd be in favor of raising it as well if it allows us to make a better / safer API.

Good to know, thanks much!

from steamworks-rs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.