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

Method gamepads

perro_source/api_modules/perro_input_api/src/snapshot.rs:183–185  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

181 }
182
183 /// Set viewport size used for normalized mouse position.
184 #[inline]
185 pub fn set_viewport_size(&mut self, width: u32, height: u32) {
186 self.mouse.set_viewport_size(width, height);
187 }
188

Callers 11

allMethod · 0.80
getMethod · 0.80
action_down_hashMethod · 0.80
action_pressed_hashMethod · 0.80
action_released_hashMethod · 0.80
apply_rumbleMethod · 0.80
ui_any_nav_stick_heldMethod · 0.80
ui_action_pressedMethod · 0.80
ui_action_releasedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected