gamepad_motion
Rust bindings for the GamepadMotionHelpers C++ library.
Usage
use GamepadMotion;
let mut gm = new;
loop
Rust bindings for the GamepadMotionHelpers C++ library.
use gamepad_motion::GamepadMotion;
let mut gm = GamepadMotion::new();
loop {
// read gyro, accelerometer, elapsed time...
xy = gm.process(g, a, dt).gyro_player_space(None);
// update position using xy...
}