MCPcopy
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
20func NewController() *Controller {
21 return &Controller{}
22}
23
24func (c *Controller) SetButtons(buttons [8]bool) {
25 c.buttons = buttons

Callers 1

NewConsoleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected