Skip to main content

Module input

Module input 

Source
Expand description

System/browser input event actors.

Source actors triggered by the runtime when input events occur. The runtime sends event data as Message::Object via network.send_to_actor(actor_id, "_event", event_data).

Feature flags:

  • window-events: keyboard, mouse, touch, window actors (winit on native)
  • browser-events: all of the above + browser-specific APIs (web_sys on Wasm)

Structs§

GamepadInputActor
KeyboardInputActor
MouseInputActor
TouchInputActor
WindowEventActor