LeapC is a C API for accessing Ultraleap tracking data. You can use LeapC directly in a C program, but the library is primarily intended for creating bindings to higher-level languages. LeapC provides tracking data as simple structs without any convenience functions.
Intel® Core™ i3/i5/i7 processor
2 GB RAM
USB 2.0 or 3.0 port
The LeapC library acts as the intermediary between your application and the Hand Tracking Service. LeapC implements a message queue to which it posts tracking, image, and status messages from the service.
Once a connection to the service is open, your application uses the
LeapPollConnection() function to drive an application-defined message pump. Each call to
LeapPollConnection() returns the next message, or blocks for the specified timeout period.
Your pump must service the message queue and handle the returned messages efficiently; messages are dropped if the queue becomes full.
SDK folder contents¶
docs — LeapC API reference documentation
include — LeapC API header files
lib — Built LeapC library files and CMake configurations
samples — A CMake project containing sample applications written in C