Function ctru_sys::hidWaitForAnyEvent
source · pub unsafe extern "C" fn hidWaitForAnyEvent(
nextEvents: bool,
cancelEvent: Handle,
timeout: s64
) -> Result
Expand description
Waits for any HID or IRRST event.
§Arguments
nextEvents
- Whether to discard the current events and wait for the next events.cancelEvent
- Optional additional handle to wait on, otherwise 0.timeout
- Timeout.