Skip to content

Leap Motion mouse input for Digital Combat Simulator VR

Notifications You must be signed in to change notification settings

glenmurphy/fingers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a3737b2 · Oct 30, 2023

History

70 Commits
Apr 3, 2021
Jan 4, 2021
Oct 30, 2023
Apr 2, 2021
Apr 2, 2021
Apr 2, 2021
Apr 2, 2021
Apr 11, 2021
Oct 30, 2023
May 2, 2022
Apr 2, 2021
Apr 2, 2021
Apr 2, 2021
Apr 15, 2021
Oct 3, 2022
Oct 30, 2023
Oct 30, 2023
Apr 16, 2021
Apr 2, 2021
Apr 16, 2021
Apr 15, 2021

Repository files navigation

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