streamdeck

package
v0.0.0-...-4f3fba4 Latest Latest
Warning

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

Go to latest
Published: May 2, 2020 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deck

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

Deck is a StreamDeck HID

func FindDevices

func FindDevices() ([]*Deck, error)

FindDevices returns an array of StreamDeck devices

func (*Deck) Close

func (deck *Deck) Close()

Close closes the HID

func (*Deck) Open

func (deck *Deck) Open() error

Open opens and claims the HID

func (*Deck) Read

func (deck *Deck) Read()

func (*Deck) SetImage

func (deck *Deck) SetImage(image *image.RGBA, key int)

Jump to

Keyboard shortcuts

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