Text overlay support
This commit is contained in:
@@ -87,6 +87,12 @@ func (sd *StreamDeck) Close() error {
|
||||
// KeyCount returns the number of keys on this device.
|
||||
func (sd *StreamDeck) KeyCount() int { return sd.model.KeyCount }
|
||||
|
||||
// ImageWidth returns the pixel width of key images for this device.
|
||||
func (sd *StreamDeck) ImageWidth() int { return sd.model.ImageWidth }
|
||||
|
||||
// ImageHeight returns the pixel height of key images for this device.
|
||||
func (sd *StreamDeck) ImageHeight() int { return sd.model.ImageHeight }
|
||||
|
||||
// Reset clears all key images and returns the device to its default state.
|
||||
func (sd *StreamDeck) Reset() error {
|
||||
report := make([]byte, 32)
|
||||
|
||||
Reference in New Issue
Block a user