MCPcopy Create free account
hub / github.com/PerroEngine/Perro / set_joycon_gyro

Method set_joycon_gyro

perro_source/api_modules/perro_input_api/src/snapshot.rs:410–413  ·  view source on GitHub ↗
(&mut self, index: usize, x: f32, y: f32, z: f32)

Source from the content-addressed store, hash-verified

408 state.set_calibration_in_progress(in_progress);
409 }
410
411 /// Set Joy-Con calibration bias vector.
412 #[inline]
413 pub fn set_joycon_calibration_bias(&mut self, index: usize, x: f32, y: f32, z: f32) {
414 let state = self.joycon_mut(index);
415 state.set_calibration_bias(x, y, z);
416 }

Callers 1

apply_eventFunction · 0.45

Calls 2

joycon_mutMethod · 0.80
set_gyroMethod · 0.45

Tested by

no test coverage detected