Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/fogleman/nes
/ SetButtons
Method
SetButtons
nes/controller.go:24–26 ·
view source on GitHub ↗
(buttons [8]bool)
Source
from the content-addressed store, hash-verified
22
}
23
24
func
(c *Controller) SetButtons(buttons [8]bool) {
25
c.buttons = buttons
26
}
27
28
func
(c *Controller) Read() byte {
29
value := byte(0)
Callers
2
SetButtons1
Method · 0.80
SetButtons2
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected