Scenic.ViewPort.Input.capture

You're seeing just the function capture, go back to Scenic.ViewPort.Input module for more information.
Link to this function

capture(viewport, inputs, opts \\ [])

View Source

Specs

capture(
  viewport :: Scenic.ViewPort.t(),
  inputs :: class() | [class()],
  opts :: Keyword.t()
) :: :ok

Capture one or more types of input.

Returns :ok or an error

Options

  • :pid - Send input to the specified pid instead of the caller process.