nn::hid::CTR::HidBase::WaitSamplingAny Member Functionstatic s32 WaitSamplingAny( HidBase * devices[], s32 numDevices, nn::fnd::TimeSpan timeout );
| Name | Description | |
|---|---|---|
| in | devices[] | Specifies an array of HidBase objects. |
| in | numDevices | Specifies the number of HidBase objects. |
| in | timeout | Specifies the timeout period. |
| Value | Description |
|---|---|
| 0 or higher | Returns the index of the sampled device. |
| Below 0 | Indicates that a timeout has occurred. |
Waits for one of the devices specified in the arguments to be sampled while using a timeout period.
CONFIDENTIAL