RotaryEncoder
public struct RotaryEncoder : Codable
The Encoder property is used to describe and configure the dial and display segment on StreamDeck+.
-
Initiate an encoder layout.
Declaration
Swift
public init(layout: LayoutName, stackColor: String? = nil, icon: String? = nil, background: String? = nil, rotate: String? = nil, push: String? = nil, touch: String? = nil, longTouch: String? = nil)Parameters
layoutThe layout for the screen above the encoder.
stackColorA color of some sort
iconThe icon on screen. Do not include the file extension.
rotateThe action description for rotating the dial.
pushThe action description for pressing the dial.
touchThe action description for tapping the touch screen.
longTouchThe action description for long pressing on the touch screen.
-
Declaration
Swift
public init(layout: LayoutName, stackColor: String? = nil, icon: String? = nil, background: String? = nil, triggerDescription: TriggerDescription)
View on GitHub
RotaryEncoder Structure Reference