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

Method is_button_pressed

perro_source/api_modules/perro_input_api/src/joycon.rs:287–289  ·  view source on GitHub ↗
(&self, button: JoyConButton)

Source from the content-addressed store, hash-verified

285 #[inline(always)]
286 pub fn needs_calibration(&self) -> bool {
287 self.connected && !self.calibrated && !self.calibration_in_progress
288 }
289
290 #[inline(always)]
291 pub fn calibration_bias(&self) -> perro_structs::Vector3 {
292 self.calibration_bias

Callers

nothing calls this directly

Calls 1

testMethod · 0.45

Tested by

no test coverage detected