streamdeck

package module
v0.0.0-...-2fff66a Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2018 License: MIT Imports: 4 Imported by: 0

README

streamdeck-go

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ICON_SIZE = 72
View Source
var NUM_FIRST_PAGE_PIXELS = 2583
View Source
var NUM_KEYS = 15
View Source
var NUM_SECOND_PAGE_PIXELS = 2601

Functions

This section is empty.

Types

type StreamDeck

type StreamDeck struct {
	DeviceInfo hid.DeviceInfo
	Device     *hid.Device
}

func FindDecks

func FindDecks() []StreamDeck

func (*StreamDeck) Close

func (deck *StreamDeck) Close()

func (*StreamDeck) Open

func (deck *StreamDeck) Open() error

func (*StreamDeck) Reset

func (deck *StreamDeck) Reset() error

func (*StreamDeck) SetBrightness

func (deck *StreamDeck) SetBrightness(brightness int) error

func (*StreamDeck) WriteImageToKey

func (deck *StreamDeck) WriteImageToKey(image *image.RGBA, key int)

Jump to

Keyboard shortcuts

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