Versions in this module Expand all Collapse all v0 v0.0.2 Jun 22, 2013 v0.0.1 Jun 22, 2013 Changes in this version + const PREFIX + const ROW_1 + const ROW_2 + const SCREEN_HEIGHT + const SCREEN_WIDTH + type ControlScheme struct + A int + B int + DOWN int + LEFT int + RIGHT int + SELECT int + START int + UP int + var DefaultControlScheme ControlScheme = ControlScheme{ ... } + type Display struct + Name string + ScreenSizeMultiplier int + func (s *Display) DrawFrame(screenData *[144][160]types.RGB) + type IO struct + Display *Display + KeyHandler *KeyHandler + func NewIO() *IO + func (i *IO) Init(title string, screenSize int, onCloseHandler func()) error + type KeyHandler struct + func (k *KeyHandler) Init(cs ControlScheme) + func (k *KeyHandler) KeyDown(key int) + func (k *KeyHandler) KeyUp(key int) + func (k *KeyHandler) LinkIRQHandler(m components.IRQHandler) + func (k *KeyHandler) Name() string + func (k *KeyHandler) Read(addr types.Word) byte + func (k *KeyHandler) Reset() + func (k *KeyHandler) Write(addr types.Word, value byte) + type Screen interface + DrawFrame func(screenData *[144][160]types.RGB)