diff --git a/BetterJoyForCemu/BetterJoy.csproj b/BetterJoyForCemu/BetterJoy.csproj
index e65e77f..9f3f5d3 100644
--- a/BetterJoyForCemu/BetterJoy.csproj
+++ b/BetterJoyForCemu/BetterJoy.csproj
@@ -102,8 +102,8 @@
..\packages\JetBrains.Annotations.2020.1.0\lib\net20\JetBrains.Annotations.dll
-
- ..\packages\Nefarius.ViGEm.Client.1.17.175\lib\net452\Nefarius.ViGEm.Client.dll
+
+ ..\packages\Nefarius.ViGEm.Client.1.17.178\lib\net452\Nefarius.ViGEm.Client.dll
@@ -180,6 +180,12 @@
Always
+
+ Always
+
+
+ Always
+
@@ -232,9 +238,6 @@
Always
-
- Always
-
diff --git a/BetterJoyForCemu/Drivers/ViGEmBusSetup_x64.msi b/BetterJoyForCemu/Drivers/ViGEmBusSetup_x64.msi
new file mode 100644
index 0000000..fb5daad
Binary files /dev/null and b/BetterJoyForCemu/Drivers/ViGEmBusSetup_x64.msi differ
diff --git a/BetterJoyForCemu/Drivers/ViGEmBusSetup_x86.msi b/BetterJoyForCemu/Drivers/ViGEmBusSetup_x86.msi
new file mode 100644
index 0000000..cd6ffc2
Binary files /dev/null and b/BetterJoyForCemu/Drivers/ViGEmBusSetup_x86.msi differ
diff --git a/BetterJoyForCemu/Drivers/ViGEmBus_Setup_1.16.116.exe b/BetterJoyForCemu/Drivers/ViGEmBus_Setup_1.16.116.exe
deleted file mode 100644
index fc907e0..0000000
Binary files a/BetterJoyForCemu/Drivers/ViGEmBus_Setup_1.16.116.exe and /dev/null differ
diff --git a/BetterJoyForCemu/Joycon.cs b/BetterJoyForCemu/Joycon.cs
index a6d53b7..1dfd54f 100644
--- a/BetterJoyForCemu/Joycon.cs
+++ b/BetterJoyForCemu/Joycon.cs
@@ -21,7 +21,7 @@ namespace BetterJoyForCemu {
public Joycon other {
get {
return _other;
- }
+ }
set {
_other = value;
@@ -29,13 +29,12 @@ namespace BetterJoyForCemu {
if (_other == null || _other == this) {
// Set LED to current Pad ID
SetLEDByPlayerNum(PadId);
- }
- else {
+ } else {
// Set LED to current Joycon Pair
int lowestPadId = Math.Min(_other.PadId, PadId);
SetLEDByPlayerNum(lowestPadId);
}
- }
+ }
}
public bool active_gyro = false;
@@ -148,7 +147,7 @@ namespace BetterJoyForCemu {
public Queue queue;
public void set_vals(float low_freq, float high_freq, float amplitude) {
- float[] rumbleQueue = new float[] {low_freq, high_freq, amplitude};
+ float[] rumbleQueue = new float[] { low_freq, high_freq, amplitude };
// Keep a queue of 15 items, discard oldest item if queue is full.
if (queue.Count > 15) {
queue.Dequeue();
@@ -288,7 +287,7 @@ namespace BetterJoyForCemu {
handle = handle_;
imu_enabled = imu;
do_localize = localize;
- rumble_obj = new Rumble(new float[] {lowFreq, highFreq, 0});
+ rumble_obj = new Rumble(new float[] { lowFreq, highFreq, 0 });
for (int i = 0; i < buttons_down_timestamp.Length; i++)
buttons_down_timestamp[i] = -1;
filterweight = alpha;
@@ -521,7 +520,7 @@ namespace BetterJoyForCemu {
HIDapi.hid_set_nonblocking(handle, 0);
// Subcommand(0x40, new byte[] { 0x0 }, 1); // disable IMU sensor
- //Subcommand(0x48, new byte[] { 0x0 }, 1); // Would turn off rumble?
+ //Subcommand(0x48, new byte[] { 0x0 }, 1); // Would turn off rumble?
if (isUSB) {
byte[] a = Enumerable.Repeat((byte)0, 64).ToArray();
@@ -809,7 +808,7 @@ namespace BetterJoyForCemu {
stop_polling = false;
int attempts = 0;
while (!stop_polling & state > state_.NO_JOYCONS) {
- if (rumble_obj.queue.Count > 0) {
+ if (rumble_obj.queue.Count > 0a) {
SendRumble(rumble_obj.GetData());
}
int a = ReceiveRaw();
diff --git a/BetterJoyForCemu/packages.config b/BetterJoyForCemu/packages.config
index af913b6..9c32728 100644
--- a/BetterJoyForCemu/packages.config
+++ b/BetterJoyForCemu/packages.config
@@ -2,6 +2,6 @@
-
+
\ No newline at end of file