Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fogleman/nes
/ readKey
Function
readKey
ui/util.go:55–57 ·
view source on GitHub ↗
(window *glfw.Window, key glfw.Key)
Source
from the content-addressed store, hash-verified
53
}
54
55
func
readKey(window *glfw.Window, key glfw.Key) bool {
56
return
window.GetKey(key) == glfw.Press
57
}
58
59
func
readKeys(window *glfw.Window, turbo bool) [8]bool {
60
var
result [8]bool
Callers
2
Update
Method · 0.85
readKeys
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected