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

Method down

perro_source/api_modules/perro_input_api/src/window.rs:186–188  ·  view source on GitHub ↗
(&self, name: &str)

Source from the content-addressed store, hash-verified

184 /// Return `true` while any binding for the named action is held.
185 #[inline]
186 pub fn down(&self, name: &str) -> bool {
187 self.down_hash(action_hash(name))
188 }
189
190 /// Return `true` when any binding for the named action is pressed this frame.
191 #[inline]

Callers

nothing calls this directly

Calls 6

action_hashFunction · 0.85
keyboardMethod · 0.80
mouseMethod · 0.80
down_hashMethod · 0.45
is_key_downMethod · 0.45
is_button_downMethod · 0.45

Tested by

no test coverage detected