package brr

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

MIDI input.

type t

The type for MIDIInput objects.

val as_target : t -> Brr.Ev.target

as_target i is i as an event target.

val as_port : t -> Port.t

as_port i is i as a port.

val of_port : Port.t -> t

of_port p is an input of p. Raises a JavaScript error if p is not an input.

OCaml

Innovation. Community. Security.