pub unsafe extern "C" fn LeapGetTrackingModeEx(
    hConnection: LEAP_CONNECTION,
    hDevice: LEAP_DEVICE
) -> eLeapRS
Expand description

\ingroup Functions Requests the currently set tracking mode for a particular device.

Requesting the current tracking mode is asynchronous. After you call this function, a subsequent call to LeapPollConnection provides a LEAP_TRACKING_MODE_EVENT containing the current tracking mode, 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(). @returns The operation result code, a member of the eLeapRS enumeration. @since 5.4.0