Type Definition flipperzero_sys::ViewInputCallback

source ·
pub type ViewInputCallback = Option<unsafe extern "C" fn(event: *mut InputEvent, context: *mut c_void) -> bool>;
Expand description

View Input callback @param event, pointer to input event data @param context, pointer to context @return true if event handled, false if event ignored @warning called from GUI thread