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

Method is_button_down

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

Source from the content-addressed store, hash-verified

280 #[inline(always)]
281 pub fn calibration_requested(&self) -> bool {
282 self.calibration_requested
283 }
284
285 #[inline(always)]
286 pub fn needs_calibration(&self) -> bool {
287 self.connected && !self.calibrated && !self.calibration_in_progress

Callers

nothing calls this directly

Calls 1

testMethod · 0.45

Tested by

no test coverage detected