overte/interface/external/leapmotion
samcake 3ce455aba4 Support for LeapMotion and worklist 19734
-  Introduce the DeviceTracker class  to abstract all the possible
devices
- Introduce the MotionTracker ( a DeviceTracker ) that contains a
transform tree of joints
- Add Leapmotion class as a MotionTracker and the support for the
Leapmotion sdk in external
- Add InputController as the abstraction of a MotionTracker/Joint for
Javascript
2014-07-01 03:15:26 -07:00
..
include Support for LeapMotion and worklist 19734 2014-07-01 03:15:26 -07:00
lib Support for LeapMotion and worklist 19734 2014-07-01 03:15:26 -07:00
readme.txt Revert "Revert "Add LeapMotion SDK support"" 2014-07-01 03:15:23 -07:00

Instructions for adding the Leap Motion library (LeapSDK) to Interface
Sam Cake, June 10, 2014

You can download the Leap Developer Kit from https://developer.leapmotion.com/ (account creation required). Interface has been tested with SDK version LeapDeveloperKit_2.0.2+16391_win.

1. Copy the LeapSDK folders from the LeapDeveloperKit installation directory (Lib, Include) into the interface/externals/leapmotion folder.
   This readme.txt should be there as well.
   
   The files neeeded in the folders are:
   
   include/
   - Leap.h
   - Leap.i
   - LeapMath.h
   
   lib/
     x86/
     - Leap.dll
     - Leap.lib
     - mscvcp120.dll (optional if you already have the Msdev 2012 SDK redistriuable installed)
     - mscvcr120.dll (optional if you already have the Msdev 2012 SDK redistriuable installed)
   
   You may optionally choose to copy the SDK folders to a location outside the repository (so you can re-use with different checkouts and different projects). 
   If so our CMake find module expects you to set the ENV variable 'HIFI_LIB_DIR' to a directory containing a subfolder 'leapmotion' that contains the 2 folders mentioned above (Include, Lib).
    
2. Clear your build directory, run cmake and build, and you should be all set.