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... }