glenmurphy / fingers

Leap Motion mouse input for Digital Combat Simulator VR

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fingers

This lets Digital Combat Simulator (DCS) VR use the Leap Motion and a bluetooth ring to press buttons. See photos and video on the Twitter thread.

Requirements

  • Leap Motion tracker
  • A bluetooth ring (of custom design, details soon)
  • A Windows PC with Bluetooth, ideally using one of these adapters

Build instructions

  • Install the Leap 4.1 SDK (5.0 beta has also been tested and appears to work, but with occasional disconnects)
  • git clone https://github.com/glenmurphy/fingers.git
  • Open FingersApp.sln in Visual Studio 2019 (need to make sure you have .NET4.8 SDK installed)
  • Make sure the LeapSDK and Windows.winmd paths in fingers.csproj point to the right place
  • Cross your actual fingers because build instructions usually forget to mention all kinds of stuff the author didn't realize was necessary
  • Build + Run

Setup / Config

  • Make sure your Leap understands which way is up - look in the vizualizer and flip it in the control panel if necessary; the auto orientation doesn't always work. This gets reset every time you update Leap, and is the most likely cause of problems.
  • Run FingersApp.exe
  • Select the right mount for your device
  • Press the buttons on your rings to pair them (on some BT adapters you may need to press both rings simultaneously)

Other

  • OnShape Model for the Pimax/Leap mount
  • You're almost certainly better off buying PointCTRL - I made this because I'm still waiting for one :)
  • This was previously a Deno/Chrome app, but swapped to C#
  • Ultraleap dropping official C# support but making it unofficially available is why the LeapCS directory exists

About

Leap Motion mouse input for Digital Combat Simulator VR


Languages

Language:C# 100.0%