peripheral

package
v0.0.0-...-29c147f Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PeripheralSDL

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

func NewPeripheralSDL

func NewPeripheralSDL(logger slog.Logger) *PeripheralSDL

func (*PeripheralSDL) EventLoop

func (p *PeripheralSDL) EventLoop()

func (*PeripheralSDL) Init

func (p *PeripheralSDL) Init()

func (*PeripheralSDL) ReadKeyboardMatrix

func (p *PeripheralSDL) ReadKeyboardMatrix(row uint8) uint8

func (*PeripheralSDL) RefreshScreen

func (p *PeripheralSDL) RefreshScreen()

func (*PeripheralSDL) SetFramePixel

func (p *PeripheralSDL) SetFramePixel(x int, y uint16, color uint8)

Jump to

Keyboard shortcuts

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