Open Bug 1286699 Opened 5 years ago Updated 2 years ago
Port gamepad platform-specifics to Rust
This is another "Move fairly platform specific thing to Rust" task, assuming that we can mostly use established system API wrappers to make things safer. Bindings between the platform specific portions of the GamepadAPI and the GamepadManager class are pretty simple, just events for AddGamepad/RemoveGamepad/AxisEvent/ButtonEvent. We could probably change these to callbacks, and pass them into Rust based platform specific code, rather than the C++ we have right now.
I thought about writing the Rust code for this (https://github.com/PistonDevelopers/piston/issues/884) as a lark, but I didn't get around to it. It ought to be mostly straightforward.
You need to log in before you can comment on or make changes to this bug.