MCPcopy Create free account
hub / github.com/RevoSucks/BM64Recomp / ControllerState

Method ControllerState

src/game/input.cpp:20–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18 GamepadMotion motion;
19 uint32_t prev_gyro_timestamp;
20 ControllerState() : controller{}, latest_accelerometer{}, motion{}, prev_gyro_timestamp{} {
21 motion.Reset();
22 motion.SetCalibrationMode(GamepadMotionHelpers::CalibrationMode::Stillness | GamepadMotionHelpers::CalibrationMode::SensorFusion);
23 };
24};
25
26static struct {

Callers

nothing calls this directly

Calls 2

ResetMethod · 0.80
SetCalibrationModeMethod · 0.80

Tested by

no test coverage detected