1
0
Fork 0
mirror of https://github.com/hawkeye-stan/msfs-popout-panel-manager.git synced 2024-10-16 06:00:45 +00:00

Added CJ4 workaround

This commit is contained in:
hawkeye 2023-07-30 01:43:17 -04:00
parent d9223d0c18
commit e540052c70
9 changed files with 32 additions and 18 deletions

View file

@ -11,9 +11,9 @@
<PackageProjectUrl>https://github.com/hawkeye-stan/msfs-popout-panel-manager</PackageProjectUrl>
<RootNamespace>MSFSPopoutPanelManager.DomainModel</RootNamespace>
<Platforms>x64</Platforms>
<Version>4.0.1.2</Version>
<AssemblyVersion>4.0.1.2</AssemblyVersion>
<FileVersion>4.0.1.2</FileVersion>
<Version>4.0.1.3</Version>
<AssemblyVersion>4.0.1.3</AssemblyVersion>
<FileVersion>4.0.1.3</FileVersion>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<DebugType>Embedded</DebugType>
<Configurations>Debug;Release;Local</Configurations>

View file

@ -14,9 +14,9 @@
<RootNamespace>MSFSPopoutPanelManager.MainApp</RootNamespace>
<ApplicationIcon>logo.ico</ApplicationIcon>
<Platforms>x64</Platforms>
<Version>4.0.1.2</Version>
<AssemblyVersion>4.0.1.2</AssemblyVersion>
<FileVersion>4.0.1.2</FileVersion>
<Version>4.0.1.3</Version>
<AssemblyVersion>4.0.1.3</AssemblyVersion>
<FileVersion>4.0.1.3</FileVersion>
<DebugType>embedded</DebugType>
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
<!-- Publishing options -->

View file

@ -11,9 +11,9 @@
<PackageProjectUrl>https://github.com/hawkeye-stan/msfs-popout-panel-manager</PackageProjectUrl>
<RootNamespace>MSFSPopoutPanelManager.Orchestration</RootNamespace>
<Platforms>x64</Platforms>
<Version>4.0.1.2</Version>
<AssemblyVersion>4.0.1.2</AssemblyVersion>
<FileVersion>4.0.1.2</FileVersion>
<Version>4.0.1.3</Version>
<AssemblyVersion>4.0.1.3</AssemblyVersion>
<FileVersion>4.0.1.3</FileVersion>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<DebugType>Embedded</DebugType>
<Configurations>Debug;Release;Local</Configurations>

View file

@ -1,3 +1,6 @@
## Version 4.0.1.3
* Added workaround for CJ4 CDU panel not popping out because of MSFS bug.
## Version 4.0.1.2
* Hotfix - Fixed issue where using touch panel feature may freeze computer and the application.

View file

@ -11,9 +11,9 @@
<PackageProjectUrl>https://github.com/hawkeye-stan/msfs-popout-panel-manager</PackageProjectUrl>
<RootNamespace>MSFSPopoutPanelManager.Shared</RootNamespace>
<Platforms>x64</Platforms>
<Version>4.0.1.2</Version>
<AssemblyVersion>4.0.1.2</AssemblyVersion>
<FileVersion>4.0.1.2</FileVersion>
<Version>4.0.1.3</Version>
<AssemblyVersion>4.0.1.3</AssemblyVersion>
<FileVersion>4.0.1.3</FileVersion>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<DebugType>Embedded</DebugType>
<Configurations>Debug;Release;Local</Configurations>

View file

@ -11,9 +11,9 @@
<PackageProjectUrl>https://github.com/hawkeye-stan/msfs-popout-panel-manager</PackageProjectUrl>
<RootNamespace>MSFSPopoutPanelManager.SimConnectAgent</RootNamespace>
<Platforms>x64</Platforms>
<Version>4.0.1.2</Version>
<AssemblyVersion>4.0.1.2</AssemblyVersion>
<FileVersion>4.0.1.2</FileVersion>
<Version>4.0.1.3</Version>
<AssemblyVersion>4.0.1.3</AssemblyVersion>
<FileVersion>4.0.1.3</FileVersion>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<DebugType>Embedded</DebugType>
<Configurations>Debug;Release;Local</Configurations>

View file

@ -1,6 +1,9 @@
# Version History
<hr/>
## Version 4.0.1.3
* Added workaround for CJ4 CDU panel not popping out because of MSFS bug.
## Version 4.0.1.2
* Hotfix - Fixed issue where using touch panel feature may freeze computer and the application.

View file

@ -61,6 +61,10 @@ namespace MSFSPopoutPanelManager.WindowsAgent
PInvoke.mouse_event(MOUSEEVENTF_LEFTDOWN, x, y, 0, 0);
Thread.Sleep(200);
PInvoke.mouse_event(MOUSEEVENTF_LEFTUP, x, y, 0, 0);
Thread.Sleep(200);
PInvoke.mouse_event(MOUSEEVENTF_LEFTDOWN, x, y, 0, 0);
Thread.Sleep(200);
PInvoke.mouse_event(MOUSEEVENTF_LEFTUP, x, y, 0, 0);
InputSimulator.Keyboard.KeyUp(WindowsInput.Native.VirtualKeyCode.RCONTROL);
InputSimulator.Keyboard.KeyUp(WindowsInput.Native.VirtualKeyCode.LCONTROL);
Thread.Sleep(100);
@ -73,6 +77,10 @@ namespace MSFSPopoutPanelManager.WindowsAgent
PInvoke.mouse_event(MOUSEEVENTF_LEFTDOWN, x, y, 0, 0);
Thread.Sleep(200);
PInvoke.mouse_event(MOUSEEVENTF_LEFTUP, x, y, 0, 0);
Thread.Sleep(200);
PInvoke.mouse_event(MOUSEEVENTF_LEFTDOWN, x, y, 0, 0);
Thread.Sleep(200);
PInvoke.mouse_event(MOUSEEVENTF_LEFTUP, x, y, 0, 0);
InputSimulator.Keyboard.KeyUp(WindowsInput.Native.VirtualKeyCode.RMENU);
Thread.Sleep(100);
InputSimulator.Keyboard.KeyUp(WindowsInput.Native.VirtualKeyCode.RMENU); // resend to make sure Alt key is up

View file

@ -11,9 +11,9 @@
<PackageProjectUrl>https://github.com/hawkeye-stan/msfs-popout-panel-manager</PackageProjectUrl>
<RootNamespace>MSFSPopoutPanelManager.WindowsAgent</RootNamespace>
<Platforms>x64</Platforms>
<Version>4.0.1.2</Version>
<AssemblyVersion>4.0.1.2</AssemblyVersion>
<FileVersion>4.0.1.2</FileVersion>
<Version>4.0.1.3</Version>
<AssemblyVersion>4.0.1.3</AssemblyVersion>
<FileVersion>4.0.1.3</FileVersion>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<DebugType>Embedded</DebugType>
<Configurations>Debug;Release;Local</Configurations>