Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/17cupsofcoffee/nova
/ clear
Method
clear
src/input.rs:100–105 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
98
}
99
100
pub fn clear(&mut self) {
101
self.keys.clear();
102
self.mouse_buttons.clear();
103
self.gamepad_buttons.clear();
104
self.axes.clear();
105
}
106
107
pub fn is_key_down(&self, key: Key) -> bool {
108
self.keys.is_down(key)
Callers
3
run
Method · 0.45
draw
Method · 0.45
draw
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected