Skip to content

Windows Console App with an HttpListener to host the leap motion controller

Notifications You must be signed in to change notification settings

tgraupmann/LeapServer

Repository files navigation

Leap HTTP Server

The HTTP Server is a C# Console App that uses a HTTPListener to serve data from the Leap Motion Controller. Raspberry PI or Arduino devices can send HTTP requests to the server so that the Leap can be used with IoT devices.

Console App

When the console app runs, the HTTPListener begins listening.

image_1

Browse http://localhost which return 0 data until a controller or hand is detected.

{
  "thumb": 0,
  "index": 0,
  "middle": 0,
  "ring": 0,
  "pinky": 0
}

Make sure that the Orion SDK is installed so that the Leap Motion Controller can be detected.

image_3

You can also browse http://localhost/refresh to get an HTML5 page that auto refreshes.

image_2

About

Windows Console App with an HttpListener to host the leap motion controller

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages