openframeworks/openFrameworks — pull request #2775 by ofTheo (2014-01-23 18:39:53+00:00)
Title: Fix for disconnecting 1473 and K4W devices on OS X.

This fixes a known issue for OS X users where the 1473 device re-enumerates within a small time period and causes a freeze.

This PR detects 1473 devices and K4W devices and sets the LED state to solid red.
It seems that in newer 1473 devices and 1473 devices with firmware updated by an Xbox the device will re-enumerate unless the LED is set.

NOTE: This is a critical fix for people with brand new Kinects or 1473 Kinects that have been plugged into an Xbox.

Also submitted to the libfreenect upstream.
https://github.com/OpenKinect/libfreenect/pull/361