setIdle
Sets the device’s idle time.
Declaration
virtual kern_return_t setIdle(uint16_t idleTimeMs);Parameters
- idleTimeMs:
The idle time in milliseconds.
Return Value
kIOReturnSuccess on success, or another value if an error occurs. See Error Codes.
Discussion
The idle rate determines how often a device resends data that hasn’t changed since the last report. Use this method to limit the reporting frequency of an interrupt IN endpoint.