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

    layout

    The layout for the screen above the encoder.

    stackColor

    A color of some sort

    icon

    The icon on screen. Do not include the file extension.

    rotate

    The action description for rotating the dial.

    push

    The action description for pressing the dial.

    touch

    The action description for tapping the touch screen.

    longTouch

    The 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)