Module nannou::event[][src]

Application, event loop and window event definitions and implementations.

  • Event - the defualt application event type.
  • WindowEvent - events related to a single window.
  • SimpleWindowEvent - a stripped-back, simplified, newcomer-friendly version of the raw, low-level glutin event.

Structs

KeyboardInput

Describes a keyboard input event.

ModifiersState

Represents the current state of the keyboard modifiers

Touch

Represents touch event

Update

Update event

WindowEvent

The nannou window event type.

Enums

ElementState

Describes the input state of a key.

Event

The default application Event type.

Key

Symbolic name for a keyboard key.

MouseButton

Describes a button of a mouse controller.

MouseScrollDelta

Describes a difference in the mouse scroll wheel state.

SimpleWindowEvent

A simplified version of glutin's WindowEvent type to make it easier to get started.

TouchPhase

Describes touch-screen input state.

Traits

LoopEvent

Event types that are compatible with the nannou app loop.