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)
C++ wrapper: ignore LIBUSB_ERROR_INTERRUPTED from freenect_process_events()

I kept getting errors about "Cannot process freenect events" when trying to
start cppview although glview worked perfectly. It turns out libusb kept
returning error "interrupted" when starting up, this patch ignores all
such errors from libusb.
I do not know libusb well enough to be able to tell whether this workaround
will cause any problems in special cases.
cppview seems to be working, but crashes when pressing ESC or closing the
window with the error "pure virtual method called". I'm still investigating
that error but I do not think it is related to this patch.

Signed-off-by: Joakim Gebart <joakim.gebart@jge.se>
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>
Rename record binary of fakenect as fakenect-record

Signed-off-by: Nicolas Bourdaud <nicolas.bourdaud@gmail.com>
Prefix freenect- to the name of the installed demos

This prefix is added to avoid name clashes with other binaries installed on
the system.

Signed-off-by: Nicolas Bourdaud <nicolas.bourdaud@gmail.com>
Add manpages for fakenect and fakenect-record

Signed-off-by: Nicolas Bourdaud <nicolas.bourdaud@gmail.com>
freenect.pyx: add FREENECT_DEPTH_{MM,REGISTERED} support

Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
audio firmware loader: use the structure of the firmware image format to specify size/addresses

Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
wavrecord.c: initialize sample count to 0

Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
examples: GLUT_INCLUDE_DIRS -> GLUT_INCLUDE_DIR

We had misspelled the environment variable in CMakeLists.txt.  Reported by
Ski-lleR on github.

Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
Added missing dependencies

- libtool
- automake
Merge pull request #291 from citelao/patch-1

Added missing dependencies to Brew formulae
Adding to C++ wrapper a method to access the underlying freenect_device
Signed-off-by: Joseph J Dillon <joe.robotics@hotmail.com> josephd
FrameMode now implements getFieldOrder() to be compatible with new versions of jna.
Signed-off-by: John Scheible johnscheible@gmail.com
handle error case on USB 3.0: control transfer may return 512 bytes

Signed-off-by: Florian Echtler <floe@butterbrot.org>
Removed libusb patch already merged upstream

Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
Removed unused stdbool.h
Replaced all include guards with '#pragma once' - fixes #296

Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
Added Kinect for Windows udev rules

Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
Removed Formula now in homebrew Library

Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
Fixed fprintf format warnings

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