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

Method set_gyro

perro_source/api_modules/perro_input_api/src/joycon.rs:207–209  ·  view source on GitHub ↗
(&mut self, x: f32, y: f32, z: f32)

Source from the content-addressed store, hash-verified

205 if !was_down {
206 self.buttons_down[word] |= bit;
207 self.buttons_pressed[word] |= bit;
208 }
209 } else if was_down {
210 self.buttons_down[word] &= !bit;
211 self.buttons_released[word] |= bit;
212 }

Callers 2

set_gamepad_gyroMethod · 0.45
set_joycon_gyroMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected