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

Method is_key_released

perro_source/api_modules/perro_input_api/src/state.rs:83–85  ·  view source on GitHub ↗
(&self, key: KeyCode)

Source from the content-addressed store, hash-verified

81 /// Return `true` only on the frame the key changes from down to up.
82 #[inline]
83 pub fn is_key_released(&self, key: KeyCode) -> bool {
84 self.test(&self.released, key)
85 }
86
87 /// Push text input received this frame.
88 #[inline]

Callers 4

releasedMethod · 0.45
releasedMethod · 0.45
ui_nav_input_changedMethod · 0.45
ui_action_releasedMethod · 0.45

Calls 1

testMethod · 0.45

Tested by

no test coverage detected