• This repository has been archived on 09/Mar/2023
  • Stars
    star
    464
  • Rank 93,948 (Top 2 %)
  • Language
    C#
  • License
    MIT License
  • Created about 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Joy-Con library for Unity.

JoyconLib

Imgur

Nintendo Switch Joy-Con library for Unity. Featuring: button/stick polling, HD rumble, and accelerometer data processing.

To use, add an empty GameObject to your scene and attach JoyconManager.cs. Look at JoyconDemo.cs for sample code to get you up and running.

With thanks/apologies to CTCaer, dekuNukem, shinyquagsire23, mfosse, and riking.

Uses C# glue code and HIDAPI binaries from Unity-Wiimote

GetVector method (attempt at sensor fusion implementation) is still unreliable! Enable in JoyconManager at your own risk. Sensor fusion code is in Joycon.ProcessIMU. Feel free to submit pull requests; sensor fusion code based on this guide.