Scenic.ViewPort.Input (Scenic v0.10.3) View Source
The main helpers and organizers for input.
Resizing is temporarily not supported.
Link to this section Summary
Link to this section Types
Specs
class() :: :codepoint | :key | :cursor_button | :cursor_scroll | :cursor_pos | :viewport_enter | :viewport_exit
Specs
t() :: {:codepoint, {codepoint :: String.t(), mods :: integer()}} | {:key, {key :: String.t(), :press | :release | :repeat, mods :: integer()}} | {:cursor_button, {:left | :center | :right, :press | :release, mods :: integer(), position :: Scenic.Math.point()}} | {:cursor_scroll, {offset :: Scenic.Math.point(), position :: Scenic.Math.point()}} | {:cursor_pos, position :: Scenic.Math.point()} | {:viewport_enter, position :: Scenic.Math.point()} | {:viewport_exit, position :: Scenic.Math.point()}