1
0
Fork 0
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:
Knut Ahlers 2019-11-21 22:39:02 +01:00
parent dcf7241ca5
commit aaef48a0aa
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -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) }