Versions in this module Expand all Collapse all v0 v0.3.1 Nov 12, 2022 Changes in this version + const PID_STREAMDECK + const PID_STREAMDECK_MINI + const PID_STREAMDECK_MINI_MK2 + const PID_STREAMDECK_MK2 + const PID_STREAMDECK_V2 + const PID_STREAMDECK_XL + const VID_ELGATO + type Device struct + Columns uint8 + DPI uint + ID string + Keys uint8 + Padding uint + Pixels uint + Rows uint8 + Serial string + func Devices() ([]Device, error) + func (d *Device) Close() error + func (d *Device) Fade(start uint8, end uint8, duration time.Duration) error + func (d *Device) Open() error + func (d *Device) ReadKeys() (chan Key, error) + func (d *Device) SetBrightness(percent uint8) error + func (d *Device) SetSleepFadeDuration(t time.Duration) + func (d *Device) SetSleepTimeout(t time.Duration) + func (d *Device) Sleep() error + func (d *Device) Wake() error + func (d Device) Asleep() bool + func (d Device) Clear() error + func (d Device) FirmwareVersion() (string, error) + func (d Device) Reset() error + func (d Device) SetImage(index uint8, img image.Image) error + type Key struct + Index uint8 + Pressed bool