mirror of
https://github.com/Luzifer/streamdeck.git
synced 2024-12-29 22:21:24 +00:00
Expose IconSize for rendering display elements
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
dcf7241ca5
commit
aaef48a0aa
1 changed files with 3 additions and 0 deletions
|
@ -84,6 +84,9 @@ func (c Client) ClearKey(keyIdx int) error { return c.cfg.ClearKey(keyIdx) }
|
||||||
// ClearAllKeys fills all keys with solid black
|
// ClearAllKeys fills all keys with solid black
|
||||||
func (c Client) ClearAllKeys() error { return c.cfg.ClearAllKeys() }
|
func (c Client) ClearAllKeys() error { return c.cfg.ClearAllKeys() }
|
||||||
|
|
||||||
|
// IconSize returns the required icon size for the StreamDeck
|
||||||
|
func (c Client) IconSize() int { return c.cfg.IconSize() }
|
||||||
|
|
||||||
// SetBrightness sets the brightness of the keys (0-100)
|
// SetBrightness sets the brightness of the keys (0-100)
|
||||||
func (c Client) SetBrightness(pct int) error { return c.cfg.SetBrightness(pct) }
|
func (c Client) SetBrightness(pct int) error { return c.cfg.SetBrightness(pct) }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue