streamdeck

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

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

func Open

func Open(serial string) (*Device, error)

func (*Device) Clear

func (d *Device) Clear() error

func (*Device) Close

func (d *Device) Close() error

func (*Device) Columns

func (d *Device) Columns() int

func (*Device) FirmwareVersion

func (d *Device) FirmwareVersion() string

func (*Device) ID

func (d *Device) ID() string

func (*Device) Pixels

func (d *Device) Pixels() int

func (*Device) ReadKeys

func (d *Device) ReadKeys() (chan hamdeck.Key, error)

func (*Device) Reset

func (d *Device) Reset() error

func (*Device) Rows

func (d *Device) Rows() int

func (*Device) Serial

func (d *Device) Serial() string

func (*Device) SetBrightness

func (d *Device) SetBrightness(brightness int) error

func (*Device) SetImage

func (d *Device) SetImage(button int, image image.Image) error

Jump to

Keyboard shortcuts

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