package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Jul 22, 2021
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
A = 0
B = 1
Select = 2
Start = 3
Right = 4
Left = 5
Up = 6
Down = 7
)
type Joypad struct {
P1 byte
}
Joypad state
Output returns joypad state in bitfield format
Source Files
¶
Click to show internal directories.
Click to hide internal directories.