O'Reilly logo

Leap Motion Development Essentials by Mischa Spiegelmock

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Driver implementation – Mac OS X

Details of the Mac OS X window flinger driver are provided here for completeness. It does not relate to the Leap Motion per se, but it does provide a useful and interesting illustration of the layer of platform-specific details and implementation. Skip ahead if you don't care about the gruesome details of manipulating OS X windows.

Accessibility API

Regrettably, OS X does not provide an API for directly accessing the attributes of windows not owned by the current application, which sort of throws a wrench into our plan to fling windows. It does, however, furnish developers with a library for generic property setters and accessors of UI elements for the purposes of accessibility, enabling applications to provide alternative ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required