pub fn on_new_input_device<F: FnMut(InputDevice) + 'static>(f: F)
Expand description
Sets a closure to run when a new input device has been added.
pub fn on_new_input_device<F: FnMut(InputDevice) + 'static>(f: F)
Sets a closure to run when a new input device has been added.