nn::hid::CTR::HidBase::WaitSamplingAny Member Function

Syntax

static s32 WaitSamplingAny(
     HidBase * devices[],
     s32 numDevices,
     nn::fnd::TimeSpan timeout
);

Arguments

Name Description
in devices[] Specifies an array of HidBase objects.
in numDevices Specifies the number of HidBase objects.
in timeout Specifies the timeout period.

Return Values

Returns the result of the operation.

Description

Waits for one of the devices specified in the arguments to be sampled while using a timeout period.


CONFIDENTIAL