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

Method begin_frame

perro_source/api_modules/perro_input_api/src/joycon.rs:138–141  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

136
137 #[inline(always)]
138 pub fn begin_frame(&mut self) {
139 self.buttons_pressed.fill(0);
140 self.buttons_released.fill(0);
141 }
142
143 #[inline(always)]
144 pub fn set_connected(&mut self, connected: bool) {

Callers

nothing calls this directly

Calls 1

fillMethod · 0.80

Tested by

no test coverage detected