Module rich_sdl2_rust::event

source ·
Expand description

SDL2 event system and handlers.

Most event structures are defined in these sub modules, but crate::audio::event::AudioDeviceEvent is defined in the external module.

Modules§

  • Events occurring on the application.
  • Events on to drag and drop something to a window.
  • A logical game controller that attached to a physical device.
  • A physical joystick device, controlling based on InputIndex and raw inputs.
  • Events related on the keyboard.
  • Events and utilities for the mouse.
  • Setup and reading data from other sensors.
  • Controls of a simple text input field.
  • Controls touch devices, fingers, and gestures.
  • Events for the window.

Structs§

  • It takes the closure of handler to register, and delivers events to your event handlers by polling.

Type Aliases§

  • An event handler to receive some event structure,