Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The <a href="http://leapoffice.codeplex.com/" rel="nofollow">LEAP Motion Controller Add-ins for Microsoft Office</a> which you found is likely to be the best way to integrate the controller with Powerpoint.</p> <p>To get started with it, you'll need Visual Studio (seems like you'll need 2012). Microsoft has an overview page for <a href="http://msdn.microsoft.com/en-us/office/hh133430.aspx" rel="nofollow">Office Development in Visual Studio</a>.</p> <p>Follow the instructions on the <a href="http://msdn.microsoft.com/en-us/library/vstudio/bb398242%28v=vs.100%29" rel="nofollow">Configuring a Computer to Develop Office Solutions</a> page. </p> <p>Download the Leap SDK for Windows, and unzip it, then in Visual Studio in the project GestureLib.NET4.0, add a reference to the LeapCSharp.NET4.0 dll </p> <p>Make a trivial fix to GestureListener.cs (use IsEmpty at line 44).</p> <p>After that you ought to be able to run the LEAP Motion Controller Add-in from within Visual Studio. It'll start Powerpoint when you do that.</p> <p>"VSTO" is the name of the technology you are using here, so for more, Google 'VSTO add-in powerpoint'.</p> <p>From the <a href="http://leapoffice.codeplex.com/SourceControl/latest#LeapOfficeController/LEAPPowerPointController/Ribbon.xml" rel="nofollow">source code for the Add-In</a>, it looks like you should see a single button on the ribbon in Powerpoint, for starting and stopping Leap.</p> <p>Looking at ThisAddIn.cs, once started (by pressing the button on the ribbon), the controller ought to respond to left and right gestures, by moving to next/previous slides respectively:-</p> <pre><code> if (direction.ToString() == "Right") { Application.ActivePresentation.SlideShowWindow.View.Next(); LastGesture = DateTime.Now; } if (direction.ToString() == "Left") { Application.ActivePresentation.SlideShowWindow.View.Previous(); LastGesture = DateTime.Now; } </code></pre> <p>GestureLib supports additional gestures, which you could make do something following that same pattern.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload