WaitSamplingAny

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

Syntax

static s32 WaitSamplingAny(
     HidBase * devices[],
     s32 numDevices
);

Arguments

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

Return Values

Returns the result of the operation.
Value Description
0 or higher Returns the index of the sampled device.

Description

Waits for one of the devices specified in the arguments to be sampled.


CONFIDENTIAL