EncoderPressEvent
public struct EncoderPressEvent<S> : Decodable, Hashable, Locatable where S : Decodable, S : Hashable
Information received about a rotary encoder event.
-
This json object contains data that you can set and are stored persistently.
Declaration
Swift
public let settings: S
-
Declaration
Swift
public let controller: ControllerType
-
The coordinates of the action triggered.
Declaration
Swift
public let coordinates: Coordinates?
-
Boolean which is
true
on encoder pressed, elsefalse
on releasedDeclaration
Swift
public let pressed: Bool