vJoyFeeder reverted back to default version

This commit is contained in:
mika-n 2019-10-20 17:35:57 +03:00
parent c2e35d2172
commit aa782b8e48

View File

@ -107,7 +107,7 @@ namespace DS4Windows.VJoyFeeder
//namespace vJoyInterfaceWrap //namespace vJoyInterfaceWrap
//{ //{
[SuppressUnmanagedCodeSecurity] [SuppressUnmanagedCodeSecurity]
public class vJoy public class VJoy
{ {
/***************************************************/ /***************************************************/
@ -634,7 +634,7 @@ namespace DS4Windows.VJoyFeeder
static bool vJoyInitialized = false; static bool vJoyInitialized = false;
static bool vJoyAvailable = false; static bool vJoyAvailable = false;
static vJoy vJoyObj = null; static VJoy vJoyObj = null;
vJoyFeeder() vJoyFeeder()
{ {
@ -657,7 +657,7 @@ namespace DS4Windows.VJoyFeeder
try try
{ {
if (vJoyObj == null) vJoyObj = new vJoy(); if (vJoyObj == null) vJoyObj = new VJoy();
if (vJoyObj.vJoyEnabled() && vJoyObj.GetVJDAxisExist(vJoyID, axis)) if (vJoyObj.vJoyEnabled() && vJoyObj.GetVJDAxisExist(vJoyID, axis))
{ {
@ -714,3 +714,4 @@ namespace DS4Windows.VJoyFeeder
} }
} }
} }