//! 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)
pub use GamepadInputActor;
pub use KeyboardInputActor;
pub use MouseInputActor;
pub use TouchInputActor;
pub use WindowEventActor;
use ActorContext;
/// Extract event data from the first Object message in the payload.
/// Falls back to config hashmap for static/testing scenarios.
pub