Function silkenweb::window::on_gamepadconnected
source · pub fn on_gamepadconnected(f: impl FnMut(Event) + 'static) -> EventCallback
Expand description
Add a gamepadconnected
event handler at the window level.
This only has an effect on WASM targets.