Skip to content

bobhelander/vJoy.Wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vJoy.Wrapper

C# vJoy wrapper

About

vJoy.Wrapper is a helper class to communicate with the vJoy library. vJoy is a device driver that bridges the gap between any device that is not a joystick and an application that requires a joystick. Please see the vJoy documentation for more information.

Prerequisites

vJoy must be installed and at least one virtual joystick configured.

Usage

using vJoy.Wrapper;

var joystick = new VirtualJoystick(1);
joystick.Aquire();                                  // Aquire vJoy device 1
joystick.SetJoystickButton(true, 1);                // Press button 1
joystick.SetJoystickAxis(16000, Axis.HID_USAGE_X);  // Center X axis
joystick.SetJoystickButton(false, 1);               // Release button 1

About

vJoy c# wrapper and helper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages