Scenic.Scene.capture_input

You're seeing just the function capture_input, go back to Scenic.Scene module for more information.
Link to this function

capture_input(scene, input_class)

View Source

Specs

capture_input(
  scene :: t(),
  input_class :: Scenic.ViewPort.Input.class() | [Scenic.ViewPort.Input.class()]
) :: :ok | {:error, atom()}

Request one or more types of input that a scene would otherwise not receive if not captured. This is rarely used by scenes and even then mostly for things like key events outside of a text field.

Any input types that were previously requested that are no longer in the request list are dropped. Request [] to cancel all input requests.

returns :ok or an error

This is intended be called by a Scene process, but doesn't need to be.