Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fogleman/nes
/ Controller
Struct
Controller
nes/controller.go:14–18 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
12
)
13
14
type
Controller
struct
{
15
buttons [8]bool
16
index byte
17
strobe byte
18
}
19
20
func
NewController() *Controller {
21
return
&Controller{}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected