Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/17cupsofcoffee/nova
/ is_key_pressed
Method
is_key_pressed
src/input.rs:115–117 ·
view source on GitHub ↗
(&self, key: Key)
Source
from the content-addressed store, hash-verified
113
}
114
115
pub fn is_key_pressed(&self, key: Key) -> bool {
116
self.keys.is_pressed(key)
117
}
118
119
pub fn is_key_released(&self, key: Key) -> bool {
120
self.keys.is_released(key)
Callers
1
update
Method · 0.80
Calls
1
is_pressed
Method · 0.80
Tested by
no test coverage detected