Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Leap Motion Development Essentials

You're reading from  Leap Motion Development Essentials

Product type Book
Published in Oct 2013
Publisher Packt
ISBN-13 9781849697729
Pages 106 pages
Edition 1st Edition
Languages
Author (1):
Mischa Spiegelmock Mischa Spiegelmock
Profile icon Mischa Spiegelmock

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 chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}