Leap Motion C API 3.1
The API to the LeapC library.
The LeapC library acts as the intermediary between your application and the Leap Motion 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.