Skip to content

Commit

Permalink
Version 1.4.401
Browse files Browse the repository at this point in the history
Fixes for inverting the sticks
Updated French, German, Russian, and Vietnamese translations, and added
more credits
  • Loading branch information
Jays2Kings committed Dec 19, 2015
1 parent 93936cf commit a06d776
Show file tree
Hide file tree
Showing 38 changed files with 10,936 additions and 11,813 deletions.
18 changes: 9 additions & 9 deletions DS4Windows/DS4Control/Mapping.cs
Original file line number Diff line number Diff line change
Expand Up @@ -965,8 +965,8 @@ public static void MapCustom(int device, DS4State cState, DS4State MappedState,
if (Math.Abs(127 - getXYAxisMapping(device, dc, cState, eState, tp)) > 5)
MappedState.LX = getXYAxisMapping(device, dc, cState, eState, tp);
}
else
MappedState.LX = cState.LX;
//else
//MappedState.LX = cState.LX;
if (Math.Abs(MappedState.LY - 127) < 10)
if (LYN.Count > 0 || LYP.Count > 0)
{
Expand All @@ -977,8 +977,8 @@ public static void MapCustom(int device, DS4State cState, DS4State MappedState,
if (Math.Abs(127 - getXYAxisMapping(device, dc, cState, eState, tp, true)) > 5)
MappedState.LY = getXYAxisMapping(device, dc, cState, eState, tp, true);
}
else
MappedState.LY = cState.LY;
//else
//MappedState.LY = cState.LY;
if (Math.Abs(MappedState.RX - 127) < 10)
if (RXN.Count > 0 || RXP.Count > 0)
{
Expand All @@ -989,8 +989,8 @@ public static void MapCustom(int device, DS4State cState, DS4State MappedState,
if (Math.Abs(127 - getXYAxisMapping(device, dc, cState, eState, tp, true)) > 5)
MappedState.RX = getXYAxisMapping(device, dc, cState, eState, tp, true);
}
else
MappedState.RX = cState.RX;
//else
// MappedState.RX = cState.RX;
if (Math.Abs(MappedState.RY - 127) < 10)
if (RYN.Count > 0 || RYP.Count > 0)
{
Expand All @@ -1001,14 +1001,14 @@ public static void MapCustom(int device, DS4State cState, DS4State MappedState,
if (Math.Abs(127 - getXYAxisMapping(device, dc, cState, eState, tp, true)) > 5)
MappedState.RY = getXYAxisMapping(device, dc, cState, eState, tp, true);
}
else
MappedState.RY = cState.RY;
// else
// MappedState.RY = cState.RY;
InputMethods.MoveCursorBy(MouseDeltaX, MouseDeltaY);
}

private static bool IfAxisIsNotModified(int device, bool shift, DS4Controls dc)
{
return shift ? GetDS4Action(device, DS4Controls.LXNeg.ToString(), true) == null : GetDS4Action(device, DS4Controls.LXNeg.ToString(), false) == null;
return shift ? false : GetDS4Action(device, dc.ToString(), false) == null;
}
public static async void MapCustomAction(int device, DS4State cState, DS4State MappedState, DS4StateExposed eState, Mouse tp, ControlService ctrl)
{
Expand Down
189 changes: 54 additions & 135 deletions DS4Windows/DS4Forms/DS4Form.Designer.cs

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions DS4Windows/DS4Forms/DS4Form.ar.resx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
<value>اختصارات لوحة المفاتيح/عن البرنامج</value>
</data>
<data name="btnClear.Text" xml:space="preserve">
<value>محو</value>
<value>مسح</value>
</data>
<data name="cMTaskbar.Size" type="System.Drawing.Size, System.Drawing">
<value>231, 192</value>
Expand Down Expand Up @@ -209,13 +209,13 @@
<value>992, 94</value>
</data>
<data name="bnEditC3.Text" xml:space="preserve">
<value>حرر</value>
<value>تعديل</value>
</data>
<data name="bnEditC4.Location" type="System.Drawing.Point, System.Drawing">
<value>992, 130</value>
</data>
<data name="bnEditC4.Text" xml:space="preserve">
<value>حرر</value>
<value>تعديل</value>
</data>
<data name="cBController1.Location" type="System.Drawing.Point, System.Drawing">
<value>846, 23</value>
Expand All @@ -224,7 +224,7 @@
<value>992, 58</value>
</data>
<data name="bnEditC2.Text" xml:space="preserve">
<value>حرر</value>
<value>تعديل</value>
</data>
<data name="cBController2.Location" type="System.Drawing.Point, System.Drawing">
<value>846, 59</value>
Expand All @@ -236,7 +236,7 @@
<value>992, 22</value>
</data>
<data name="bnEditC1.Text" xml:space="preserve">
<value>حرر</value>
<value>تعديل</value>
</data>
<data name="cBController4.Location" type="System.Drawing.Point, System.Drawing">
<value>846, 131</value>
Expand Down
12 changes: 12 additions & 0 deletions DS4Windows/DS4Forms/DS4Form.de-DE.resx
Original file line number Diff line number Diff line change
Expand Up @@ -638,4 +638,16 @@
<data name="useCustomColorToolStripMenuItem.Text" xml:space="preserve">
<value>Benutze eine eigene Farbe</value>
</data>
<data name="lbID.Text" xml:space="preserve">
<value>ID</value>
</data>
<data name="lbStatus.Text" xml:space="preserve">
<value>Status</value>
</data>
<data name="tabControllers.Text" xml:space="preserve">
<value>Controller</value>
</data>
<data name="tabLog.Text" xml:space="preserve">
<value>Log</value>
</data>
</root>
Loading

0 comments on commit a06d776

Please sign in to comment.