Function ctru_sys::hidWaitForEvent

source ·
pub unsafe extern "C" fn hidWaitForEvent(
    id: HID_Event,
    nextEvent: bool
)
Expand description

Waits for an HID event.

§Arguments

  • id - ID of the event.
  • nextEvent - Whether to discard the current event and wait for the next event.