joypad

package
v0.0.0-...-88ca599 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Joypad

type Joypad struct {
	// contains filtered or unexported fields
}

func NewJoypad

func NewJoypad(io *ioports.IOPorts) *Joypad

func (*Joypad) Read

func (j *Joypad) Read(_ uint16) uint8

func (*Joypad) UpdateInput

func (j *Joypad) UpdateInput(input uint8)

func (*Joypad) Write

func (j *Joypad) Write(_ uint16, value uint8)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL