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)
Make it compile on Cython 0.15.1
Add support for DEPTH_10BIT, DEPTH_REGISTERED and DEPTH_MM
Don't initialise depth and video on runloop if device is passed in

Signed-off-by: Alejandro Dubrovsky <alito@organicrobot.com>
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
Tweaked C_Sync wrapper to allow for resolution to be set

Signed-off-by: Thomas Dunne <thomasdunne999@gmail.com>
A slightly more aggressive form of allowing resolution to be set through c_sync wrapper

Signed-off-by: Thomas Dunne <thomasdunne999@gmail.com>
Changed the names of the modified functions, and added wrapper functions (under original names) that maintain backwards compatibilty, and functionality

Signed-off-by: Thomas Dunne <thomasdunne999@gmail.com>
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>