Function leap_sys::LeapSetTrackingModeEx
source · [−]pub unsafe extern "C" fn LeapSetTrackingModeEx(
hConnection: LEAP_CONNECTION,
hDevice: LEAP_DEVICE,
mode: eLeapTrackingMode
) -> eLeapRS
Expand description
\ingroup Functions Requests a tracking mode for a particular device.
Changing tracking modes is asynchronous. After you call this function, a subsequent call to LeapPollConnection provides a LEAP_POLICY_EVENT containing the current policies, reflecting any changes.
The eLeapTrackingMode enumeration defines the tracking mode.
@param hConnection The connection handle created by LeapCreateConnection(). @param hDevice A device handle returned by LeapOpenDevice(). @param mode The enum value specifying the requested tracking mode. @returns The operation result code, a member of the eLeapRS enumeration. @since 5.4.0