Type Definition flipperzero_sys::ViewCustomCallback

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

View Custom callback

Returns:

  • true if event handled, false if event ignored

Arguments

  • event, - number of custom event
  • context, - pointer to context