A vJoy feeder for the Nintendo Switch JoyCons
Go to file
2017-10-10 17:25:39 -04:00
.vs/joycon/v15 saving 2017-10-08 01:23:21 -04:00
joycon-driver add needed files to compile the project 2017-10-10 17:06:03 -04:00
.gitattributes Add .gitignore and .gitattributes. 2017-04-02 20:13:01 -04:00
.gitignore saving 2017-09-01 17:57:29 -04:00
joycon.sln Add project files. 2017-04-02 20:13:04 -04:00
README.md update readme 2017-10-10 17:25:39 -04:00

JoyCon-Driver

A vJoy feeder for the Nintendo Switch JoyCons with analog stick support and motion controls

How to use

  1. Install vJoy, found here: http://vjoystick.sourceforge.net/site/

  2. Setup your vJoy Devices to look like this:

  3. Pair the JoyCon(s) to your PC

  4. Run the Application, if it doesn't detect your JoyCon(s), make sure they are fully paired/connected and restart the program.

  5. Once the program is running vJoy should register the input from the JoyCons.

    • To verify it's working you can use the vJoy monitor that comes with vJoy, it looks like this: http://i.imgur.com/x4Fn7Cq.png
    • To re-pair the JoyCons go into Settings and remove the JoyCon(s) and then pair them again.
    • You'll likely want to use this with something like x360ce (http://www.x360ce.com), which will let you map the vJoy device to a virtual xbox controller for games that support them.

Important Notes

  • The JoyCons need to be re-paired anytime after they've reconnected to the switch.

  • There is now a config file, and a GUI

These are the default settings:

// there appears to be a good amount of variance between JoyCons,
// but they work well once you find the right offsets
// these are the values that worked well for my JoyCons:
int leftJoyConXOffset = 16000;
int leftJoyConYOffset = 13000;

int rightJoyConXOffset = 15000;
int rightJoyConYOffset = 19000;

// multipliers to go from the range (-128,128) to (-32768, 32768)
// These shouldn't need to be changed,
// but the option is there if you find the joysticks aren't reaching their max values, or hit the max too early
float leftJoyConXMultiplier = 10.0f;
float leftJoyConYMultiplier = 10.0f;
float rightJoyConXMultiplier = 10.0f;
float rightJoyConYMultiplier = 10.0f;

// Enabling this combines both JoyCons to a single vJoy Device(#1)
// when combineJoyCons == false:
// JoyCon(L) is mapped to vJoy Device #1
// JoyCon(R) is mapped to vJoy Device #2
// when combineJoyCons == true:
// JoyCon(L) and JoyCon(R) are mapped to vJoy Device #1
bool combineJoyCons = false;

bool reverseX = false;// reverses joystick x (both sticks)
bool reverseY = false;// reverses joystick y (both sticks)

// Automatically center sticks
// works by getting joystick position at start
// and assumes that to be (0,0), and uses that to calculate the offsets
bool autoCenterSticks = false;

bool usingGrip = false;
bool usingBluetooth = true;
bool disconnect = false;

// enables motion controls
bool enableGyro = false;

// gyroscope (mouse) sensitivity:
float gyroSensitivityX = 100.0f;
float gyroSensitivityY = 100.0f;

// enables 3D gyroscope visualizer
bool gyroWindow = false;

// plays a version of the mario theme by vibrating
// the first JoyCon connected.
bool marioTheme = false;

// bool to restart the program
bool restart = false;

Donate

  • If you like the project and would like to donate I have a paypal at matt.cfosse@gmail.com
  • BTC Address: 17hDC2X7a1SWjsqBJRt9mJb9fJjqLCwgzG
  • ETH Address: 0xFdcA914e1213af24fD20fB6855E89141DF8caF96

Thanks

 * Thanks to everyone at: https://github.com/dekuNukem/Nintendo_Switch_Reverse_Engineering/