Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/explodingcamera/tinywasm
/ key_down
Method
key_down
examples/doom/src/runtime.rs:79–82 ·
view source on GitHub ↗
(&mut self, key: i32)
Source
from the content-addressed store, hash-verified
77
}
78
79
pub fn key_down(&mut self, key: i32) -> Result<()> {
80
self.key_down.call(&mut self.store, key)?;
81
Ok(())
82
}
83
84
pub fn key_up(&mut self, key: i32) -> Result<()> {
85
self.key_up.call(&mut self.store, key)?;
Callers
1
window_event
Method · 0.80
Calls
1
call
Method · 0.80
Tested by
no test coverage detected