InputEvent (input_event v0.4.3) View Source

Elixir interface to Linux input event devices

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Scan the system for input devices and return information on each one.

Return information about this input event device

Start a GenServer that reports events from the specified input event device

Stop the InputEvent GenServer.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Specs

enumerate() :: [{String.t(), InputEvent.Info.t()}]

Scan the system for input devices and return information on each one.

Specs

Return information about this input event device

Specs

start_link(Path.t()) :: :ignore | {:error, any()} | {:ok, pid()}

Start a GenServer that reports events from the specified input event device

Specs

stop(GenServer.server()) :: :ok

Stop the InputEvent GenServer.