Added a feature to use accelerometer data to rotate camera view in software
when the camera is physically rotated such that the view on the screen is
always upright even when the camera is upside down. Enabling it, and
disabling it is done with the "r" key. Not on by default. I enabled several
things that were disabled in the last patch, but only when rotation
mode is toggled on.

I uploaded a youtube video of this feature
http://www.youtube.com/watch?v=JSjV1Y1eC8M

Signed-off-by: Daniel Patrick Johnson <teknotus@gmail.com> (teknotus)
Added error reporting for failed subdevice initialization.

The error was encountered on Win32 when *only* the Camera subdevice
had a proper driver installed. This caused a silent failure.

Signed-off-by: JD Cole <jd@jdc.me>
Added Gentoo Linux ebuilds

Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
Update CMake version for v0.2.0

Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
Make freenect_flags an actual flag enum

Signed-off-by: Robert Xiao <brx@cs.cmu.edu>
Fix include of libusb.h in wrappers/cpp/libfreenect.hpp

Otherwise fails to build on systems with libusb.h provided outside of versioned
directory, e.g. on kFreeBSD.  This "bug" was introduced after initial
changes of similar kind in e.g. 713c715 and 8219750

Signed-off-by: Yaroslav Halchenko <debian@onerussian.com>
Merge pull request #342 from nneonneo/freenect-flag-fix

freenect_flag should be a real flags enum (raw registers should be coded differently) (@nneonneo)

Reviewed-by: Benn Snyder <benn.snyder@gmail.com>
Tweaks to freenect_flag commit

Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
csharp: Update Enumerations.cs - fixes #285

Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
Merge pull request #270 from jdcole/partial_driver_install_error

Added error reporting for failed subdevice initialization (@jdcole)

Reviewed-by: Benn Snyder <benn.snyder@gmail.com>
fakenect: Fix memory leaks - fixes #205

Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
OpenNI2-FreenectDriver: initial commit

Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
Merge pull request #349 from yarikoptic/master

Fix include of libusb.h in wrappers/cpp/libfreenect.hpp (@yarikoptic)

Reviewed-by: Benn Snyder <benn.snyder@gmail.com>
wrappers/cpp: Stop loop before clearing devices (prevents hang on exit) - fixes #295

Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
wrappers/cpp: replace std::make_pair with and more compatible assignment - fixes #339

Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
Merge pull request #357 from OpenKinect/unstable

Merge unstable for milestone v0.2.1

Reviewed-by: Benn Snyder <benn.snyder@gmail.com>
Update CMakeLists.txt for v0.2.1

Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
wrappers/cpp: Remove pureness from virtual callbacks - fixes #286

Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
Fix missing semicolon in fakenect/record.c

Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
Merge branch 'master' of git://github.com/teknotus/libfreenect

Conflicts:
	examples/glview.c

Use the 'o' key in glview to rotate video with accelerometer - fixes #234

Reviewed-by: Benn Snyder <benn.snyder@gmail.com>