Skip to content

Commit

Permalink
Fixes A10 doesn't put in spaces
Browse files Browse the repository at this point in the history
Hopefully fixes AH64 DTC Net config spuriously leaves "DEL" entry
Bump version
  • Loading branch information
FalcoGer committed Jan 27, 2024
1 parent bf6cd2f commit 129ca93
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
3 changes: 3 additions & 0 deletions CoordinateConverter/DCS/Aircraft/A10C.cs
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,9 @@ private List<DCSCommand> EnterIntoCDU(string data)
// Needs to be separate because cdu key 0 is above key 9's value, but ascii '0' is below '1'
commands.Add(new DCSCommand(dev, (int)EKeyCodes.CDU_Key_0));
break;
case ' ':
commands.Add(new DCSCommand(dev, (int)EKeyCodes.CDU_Key_Space));
break;
default:
int keyCode;
if (ch >= '1' && ch <= '9')
Expand Down
10 changes: 5 additions & 5 deletions CoordinateConverter/DCS/Aircraft/AH64/AH64RadioPresetData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -246,11 +246,11 @@ public List<DCSCommand> GenerateCommands(AH64DTCData.EPreset preset, bool IsPilo
{
new DCSCommand(mfd, (int)AH64.EKeyCode.MFD_T5), // C/S
// Set C/S to DEL
new DCSCommand((int)(IsPilot ? AH64.EDeviceCode.PLT_KU : AH64.EDeviceCode.CPG_KU), (int)AH64.EKeyCode.KU_CLR),
new DCSCommand((int)(IsPilot ? AH64.EDeviceCode.PLT_KU : AH64.EDeviceCode.CPG_KU), (int)AH64.EKeyCode.KU_D),
new DCSCommand((int)(IsPilot ? AH64.EDeviceCode.PLT_KU : AH64.EDeviceCode.CPG_KU), (int)AH64.EKeyCode.KU_E),
new DCSCommand((int)(IsPilot ? AH64.EDeviceCode.PLT_KU : AH64.EDeviceCode.CPG_KU), (int)AH64.EKeyCode.KU_L),
new DCSCommand((int)(IsPilot ? AH64.EDeviceCode.PLT_KU : AH64.EDeviceCode.CPG_KU), (int)AH64.EKeyCode.KU_ENT),
new DCSCommand((int)(IsPilot ? AH64.EDeviceCode.PLT_KU : AH64.EDeviceCode.CPG_KU), (int)AH64.EKeyCode.KU_CLR, 150),
new DCSCommand((int)(IsPilot ? AH64.EDeviceCode.PLT_KU : AH64.EDeviceCode.CPG_KU), (int)AH64.EKeyCode.KU_D, 150),
new DCSCommand((int)(IsPilot ? AH64.EDeviceCode.PLT_KU : AH64.EDeviceCode.CPG_KU), (int)AH64.EKeyCode.KU_E, 150),
new DCSCommand((int)(IsPilot ? AH64.EDeviceCode.PLT_KU : AH64.EDeviceCode.CPG_KU), (int)AH64.EKeyCode.KU_L, 200),
new DCSCommand((int)(IsPilot ? AH64.EDeviceCode.PLT_KU : AH64.EDeviceCode.CPG_KU), (int)AH64.EKeyCode.KU_ENT, 250),
new DCSCommand(mfd, (int)AH64.EKeyCode.MFD_T2), // Delete
new DCSCommand(mfd, (int)AH64.EKeyCode.MFD_T1) // Yes
};
Expand Down
2 changes: 1 addition & 1 deletion CoordinateConverter/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace CoordinateConverter
/// <seealso cref="Form" />
public partial class MainForm : Form
{
private readonly GitHub.Version VERSION = new GitHub.Version(0, 6, 7);
private readonly GitHub.Version VERSION = new GitHub.Version(0, 6, 8);

#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
public static readonly Color ERROR_COLOR = Color.Pink;
Expand Down
4 changes: 2 additions & 2 deletions Installer/Installer.wixproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<Project Sdk="WixToolset.Sdk/4.0.2">
<PropertyGroup>
<DefineConstants>Version=0.6.7</DefineConstants>
<DefineConstants>Version=0.6.8</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<DefineConstants>Version=0.6.0</DefineConstants>
<DefineConstants>Version=0.6.8</DefineConstants>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="WixToolset.Netfx.wixext" Version="4.0.2" />
Expand Down

0 comments on commit 129ca93

Please sign in to comment.