Skip to content

@ue-too/board / RotateControlOutputEvent

Type Alias: RotateControlOutputEvent

RotateControlOutputEvent = { delta: number; type: "rotateBy"; } | { target: number; type: "rotateTo"; } | { type: "none"; }

Defined in: packages/board/src/camera/camera-mux/animation-and-lock/rotation-control-state-machine.ts:75

Discriminated union of output events from rotation control state machine.

Remarks

Output events instruct the camera system what rotation operation to perform:

  • rotateBy: Relative rotation by delta angle
  • rotateTo: Absolute rotation to target angle
  • none: No operation (input blocked)