MCPcopy 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
24func (c *Controller) SetButtons(buttons [8]bool) {
25 c.buttons = buttons
26}
27
28func (c *Controller) Read() byte {
29 value := byte(0)

Callers 2

SetButtons1Method · 0.80
SetButtons2Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected