Reader small image

You're reading from  Leap Motion Development Essentials

Product typeBook
Published inOct 2013
PublisherPackt
ISBN-139781849697729
Edition1st Edition
Right arrow
Author (1)
Mischa Spiegelmock
Mischa Spiegelmock
author image
Mischa Spiegelmock

Mischa Spiegelmock is an accomplished software engineer from the San Francisco Bay Area. Slightly infamous from light-hearted technical pranks from his youth, he is now a respectable CTO at a healthcare software startup. His passions are architecting elegant and useful programs and sharing his insights into software design with others in a straightforward and entertaining fashion.
Read more about Mischa Spiegelmock

Right arrow

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 methods of interface feedback for vision- or hearing-impaired users. Examples of this could be an application that speaks the current window title, or changing button labels to be large and high-contrast.

The AX API, as it is known, allows...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Leap Motion Development Essentials
Published in: Oct 2013Publisher: PacktISBN-13: 9781849697729

Author (1)

author image
Mischa Spiegelmock

Mischa Spiegelmock is an accomplished software engineer from the San Francisco Bay Area. Slightly infamous from light-hearted technical pranks from his youth, he is now a respectable CTO at a healthcare software startup. His passions are architecting elegant and useful programs and sharing his insights into software design with others in a straightforward and entertaining fashion.
Read more about Mischa Spiegelmock