Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fogleman/nes
/ NewController
Function
NewController
nes/controller.go:20–22 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
18
}
19
20
func
NewController() *Controller {
21
return
&Controller{}
22
}
23
24
func
(c *Controller) SetButtons(buttons [8]bool) {
25
c.buttons = buttons
Callers
1
NewConsole
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected