Preliminary support for Kinect for Windows hardware, at the expense of LED/motor support for normal devices and messiness.  Needs review and more testing, as well as some way to stub out the LED/motor calls.

Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
Expose depth smoothing mode register through API.

Signed-off-by: Rene Wagner <rwagner@informatik.uni-bremen.de>
Fix freenect_set_smoothing_mode documentation.

Signed-off-by: Rene Wagner <rwagner@informatik.uni-bremen.de>
Add support for enabling near mode with new K4W.

Thanks to dxli and nneonneo for their initial work on this:

https://github.com/OpenKinect/libfreenect/issues/274

Signed-off-by: Rene Wagner <rwagner@informatik.uni-bremen.de>
Pseudo near mode for non-K4W devices.

This adjusts the IR gain only which isn't as good as the K4W
near mode but avoids overexposure near the 50cm hard limit
on non-K4W devices.

Signed-off-by: Rene Wagner <rwagner@informatik.uni-bremen.de>
Fix compiler warning in freenect_set_smoothing_mode.

Signed-off-by: Rene Wagner <rwagner@informatik.uni-bremen.de>
merge in k4w support