![]() |
Leap Motion C API
4.1.0
The API to the LeapC library.
|
Enumerations used by the LeapC functions and data structures. More...
Enumerations |
Enumerations used by the LeapC functions and data structures.
| enum eLeapAllocatorType |
Defines the various types of data that may be allocated using the allocator.
| enum eLeapDeviceCaps |
| enum eLeapDevicePID |
Device hardware types.
| enum eLeapDeviceStatus |
Enumerates the device status codes.
| enum eLeapEventType |
The types of event messages resulting from calling LeapPollConnection().
| Enumerator | |
|---|---|
| eLeapEventType_None |
No event has occurred within the timeout period specified when calling LeapPollConnection().
|
| eLeapEventType_Connection |
A connection to the Leap Motion service has been established.
|
| eLeapEventType_ConnectionLost |
The connection to the Leap Motion service has been lost.
|
| eLeapEventType_Device |
A device has been detected or plugged-in. A device event is dispatched after a connection is established for any devices already plugged in. (The system currently only supports one streaming device at a time.)
|
| eLeapEventType_DeviceFailure |
A device has failed. Device failure could be caused by hardware failure, USB controller issues, or other system instability. Note that unplugging a device generates an eLeapEventType_DeviceLost event message, not a failure message.
|
| eLeapEventType_Policy |
A policy change has occurred. This can be due to setting a policy with LeapSetPolicyFlags() or due to changing or policy-related config settings, including images_mode. (A user can also change these policies using the Leap Motion Control Panel.)
|
| eLeapEventType_Tracking |
A tracking frame. The message contains the tracking data for the frame.
|
| eLeapEventType_ImageRequestError |
The request for an image has failed. The message contains information about the failure. The client application will not receive the requested image set.
|
| eLeapEventType_ImageComplete |
The request for an image is complete. The image data has been completely written to the application-provided buffer.
|
| eLeapEventType_LogEvent |
A system message.
|
| eLeapEventType_DeviceLost |
The device connection has been lost. This event is generally asserted when the device has been detached from the system, when the connection to the service has been lost, or if the device is closed while streaming. Generally, any event where the system can conclude no further frames will be received will result in this message. The DeviceEvent field will be filled with the id of the formerly attached device.
|
| eLeapEventType_ConfigResponse |
The asynchronous response to a call to LeapRequestConfigValue(). Contains the value of requested configuration item.
|
| eLeapEventType_ConfigChange |
The asynchronous response to a call to LeapSaveConfigValue(). Reports whether the change succeeded or failed.
|
| eLeapEventType_DeviceStatusChange |
Notification that a status change has been detected on an attached device.
|
| eLeapEventType_Image |
Notification that an unrequested stereo image pair is available.
|
| eLeapEventType_PointMappingChange |
Notification that point mapping has changed.
|
| eLeapEventType_LogEvents |
An array of system messages.
|
| enum eLeapHandType |
The Hand chirality types.
Used in the LEAP_HAND struct.
| Enumerator | |
|---|---|
| eLeapHandType_Left |
A left hand.
|
| eLeapHandType_Right |
A right hand.
|
| enum eLeapImageFormat |
| enum eLeapImageType |
| enum eLeapLogSeverity |
System message severity types.
| enum eLeapPerspectiveType |
Camera perspective types.
| enum eLeapPolicyFlag |
Enumerates flags for the service policies.
| enum eLeapRecordingFlags |
Defines the recording mode provided to the LeapRecordingOpen() function.
Also used in members of LEAP_RECORDING_PARAMETERS and LEAP_RECORDING_STATUS.
| enum eLeapRS |
Defines the codes returned by all LeapC functions.
| enum eLeapValueType |
Identifies the operative data type of a LEAP_VARIANT struct instance.