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

Method released

perro_source/api_modules/perro_input_api/src/input_map.rs:126–135  ·  view source on GitHub ↗
(
        &self,
        name: &str,
        keyboard: &KeyboardState,
        mouse: &MouseState,
        gamepads: &[GamepadState],
        joycons: &[JoyConState],
    )

Source from the content-addressed store, hash-verified

124 ) -> bool {
125 self.down_hash(action_hash(name), keyboard, mouse, gamepads, joycons)
126 }
127
128 #[inline]
129 pub fn pressed(
130 &self,
131 name: &str,
132 keyboard: &KeyboardState,
133 mouse: &MouseState,
134 gamepads: &[GamepadState],
135 joycons: &[JoyConState],
136 ) -> bool {
137 self.pressed_hash(action_hash(name), keyboard, mouse, gamepads, joycons)
138 }

Callers 1

released_hashMethod · 0.45

Calls 6

action_hashFunction · 0.85
anyMethod · 0.80
released_hashMethod · 0.45
is_key_releasedMethod · 0.45
is_button_releasedMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected