Skip to main content

GamepadManagerCell

Type Alias GamepadManagerCell 

Source
pub type GamepadManagerCell = Rc<EngineCell<GamepadManager>>;
Expand description

A shared, single-threaded cell holding a GamepadManager.

gamepadconnected / gamepaddisconnected listeners own a clone of this Rc for the lifetime of the document, so a device that appears between two polls is recorded without waiting for the next frame.

Aliased Typeยง

pub struct GamepadManagerCell { /* private fields */ }