pub fn create<F>(fn_proc: F) -> (Device, Factory)where F: FnMut(&str) -> *const c_void,
Create a new device with a factory.