Keyboard press and release events.
Pattern matching
def update(model, %KeyEvent{type: :press, key: :escape, captured: false}), do: ...
def update(model, %KeyEvent{type: :press, key: "s", modifiers: %{command: true}}), do: ...
Summary
Types
@type location() :: :standard | :left | :right | :numpad