ncreel_offer_input

Function ncreel_offer_input 

Source
pub unsafe extern "C" fn ncreel_offer_input(
    nr: *mut ncreel,
    ni: *const ncinput,
) -> bool
Expand description

Offer input ‘ni’ to the ncreel ‘nr’. If it’s relevant, this function returns true, and the input ought not be processed further. If it’s irrelevant to the reel, false is returned. Relevant inputs include:

  • a mouse click on a tablet (focuses tablet)
  • a mouse scrollwheel event (rolls reel)
  • up, down, pgup, or pgdown (navigates among items)