MCPcopy Create free account
hub / github.com/17cupsofcoffee/nova / is_pressed

Method is_pressed

src/input.rs:227–229  ·  view source on GitHub ↗
(&self, button: T)

Source from the content-addressed store, hash-verified

225 }
226
227 fn is_pressed(&self, button: T) -> bool {
228 self.pressed.contains(&button)
229 }
230
231 fn is_released(&self, button: T) -> bool {
232 self.released.contains(&button)

Callers 3

is_key_pressedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected