pub type FnGetEventStatus = extern "system" fn(device: Device, event: Event) -> Result;