Skip to content

Commit

Permalink
WiinUPro v0.9.8 Build.
Browse files Browse the repository at this point in the history
  • Loading branch information
KeyPuncher committed Aug 31, 2024
1 parent 3251a78 commit d4ee7c1
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Installers/wiinupro_installer.iss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;Inno Setup 6
#define MyAppName "WiinUPro"
#define MyAppVersion "0.9.7"
#define MyAppVersion "0.9.8"
#define MyAppPublisher "Justin Keys"
#define MyAppURL "https://github.com/KeyPuncher/WiinUPro/releases"
#define MyAppExeName "WiinUPro.exe"
Expand Down Expand Up @@ -67,7 +67,7 @@ english.ComponentGCN=Game Cube Adapter Driver (Must be Plugged in)
french.InstallAll=Tout installer
french.InstallSome=Choisir
french.ComponentXbox=Xbox 360 Controller Driver (Requis sous Windows XP/Vista/and 7)
french.ComponentGCN=Game Cube Adapter Driver (Doit être branché)
french.ComponentGCN=Game Cube Adapter Driver (Doit �tre branch�)
spanish.InstallAll=Instalar todo
spanish.InstallSome=Escoger
spanish.ComponentXbox=Xbox 360 Controller Driver (Requerido para Windows XP/Vista/7)
Expand Down
10 changes: 8 additions & 2 deletions Nintroller/ComponentStructs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,12 @@ public bool InBounds(float x, float y = 0)
}
}

public struct ZonePoint
{
public float X;
public float Y;
}

public struct RectangularZone
{
/// <summary>
Expand All @@ -639,9 +645,9 @@ public struct RectangularZone
/// </summary>
public int limitMinX, limitMaxX, limitMinY, limitMaxY;

public (float X, float Y) Evaluate(int rawX, int rawY)
public ZonePoint Evaluate(int rawX, int rawY)
{
var result = (X: 0f, Y: 0f);
var result = new ZonePoint { X = 0, Y = 0 };

// Deadzone check
if (rawX > (deadX - deadWidth / 2) && rawX < (deadX + deadWidth / 2))
Expand Down
4 changes: 2 additions & 2 deletions Nintroller/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@
// Patch Number
// Revision <- Updated by pre-build script using git commit count.
//
[assembly: AssemblyVersion("2.7.3.741")]
[assembly: AssemblyFileVersion("2.7.3.741")]
[assembly: AssemblyVersion("2.7.3.747")]
[assembly: AssemblyFileVersion("2.7.3.747")]
4 changes: 2 additions & 2 deletions WiinUPro/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@
// Revision <- Updated by pre-build script using git commit count.
//
// When updating, the last number should be 190 + the number of commits in GitHub + 1 for this commit + # of unpushed local commits.
[assembly: AssemblyVersion("0.9.7.741")]
[assembly: AssemblyFileVersion("0.9.7.741")]
[assembly: AssemblyVersion("0.9.8.747")]
[assembly: AssemblyFileVersion("0.9.8.747")]

0 comments on commit d4ee7c1

Please sign in to comment.