Giter Site home page Giter Site logo

Add gamepad support about hebi HOT 7 OPEN

ElnuDev avatar ElnuDev commented on September 28, 2024
Add gamepad support

from hebi.

Comments (7)

ElnuDev avatar ElnuDev commented on September 28, 2024 1

Nice! I'll let you know when we get gamepad support in

from hebi.

grtcdr avatar grtcdr commented on September 28, 2024

What's the situation like when it comes to gamepad support in the Rust ecosystem?

I know Linux basically provides an interface to pretty much a lot of controllers and gamepads, will you be making direct calls to those interfaces or looking for a more abstracted/convenient wrapper?

from hebi.

ElnuDev avatar ElnuDev commented on September 28, 2024

I have no idea honestly. I think Bevy has gamepad support built-in, but I haven't looked into it yet.

from hebi.

grtcdr avatar grtcdr commented on September 28, 2024

Interesting, is it cross-platform?

from hebi.

ElnuDev avatar ElnuDev commented on September 28, 2024

It is. I have done builds to both Linux and Windows, and one should in theory be able to build to WebAssembly and mobile (don't quote me on that, but I think it has Android support at least) as well.

from hebi.

grtcdr avatar grtcdr commented on September 28, 2024

Wonderful, I'm a controller guy myself.

from hebi.

kroltan avatar kroltan commented on September 28, 2024

Interesting, is it cross-platform?

Yeah, Bevy uses gilrs under the hood, From its README:

Supported features

  Input Hotplugging Force feedback
Linux
Windows (XInput)
OS X
Wasm n/a
Android

from hebi.

Related Issues (19)

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.