Skip to content

Conversation

@BrunoCostaGH
Copy link

@BrunoCostaGH BrunoCostaGH commented Apr 18, 2025

Summary

This update retargets the project to:

  • Windows SDK version 10.0.22621.0
  • Visual Studio 2022 toolset

Also added a fallback mechanism to correctly detect the window title, accommodating changes introduced in X-Plane 12.2.

Reason

  • The previous version stopped working on Windows 11 due to reliance on an outdated SDK. This has been resolved by updating to a more recent SDK.
  • X-Plane 12.2 changed the window title from X-System to X-Plane, causing the existing window detection logic to fail. This is now fixed with a fallback title check.

Impact

  • Resolves compatibility issues with Windows 11 and X-Plane 12.2 and later.
  • No changes to core application logic.

Notes

  • Tested on Windows 11 with X-Plane 12.2.

Resources

@BrunoCostaGH
Copy link
Author

Please review @smiley22

@BrunoCostaGH BrunoCostaGH changed the title fix: retarget solution to Windows SDK 10.0 and VS 22 fix: retarget solution to Windows SDK 10.0.22621.0 and VS 22 Apr 18, 2025
@vctr57
Copy link

vctr57 commented Apr 19, 2025

2014780_217
2014780_218

Windows 10 Pro and the latest beta version of Xplane 12, it still doesn't work for me, , but in the non-beta version it works normally

@BrunoCostaGH
Copy link
Author

2014780_217 2014780_218

Windows 10 Pro and the latest beta version of Xplane 12, it still doesn't work for me, , but in the non-beta version it works normally

This should now be fixed.
Laminar changed the window title from X-System to X-Plane in version 12.2, which caused some issues when trying to find the window.

BetterMouseYoke_v1.5.1.zip

@BrunoCostaGH BrunoCostaGH changed the title fix: retarget solution to Windows SDK 10.0.22621.0 and VS 22 Windows 11 Compatibility and X-Plane 12.2 Support Update Apr 19, 2025
@vctr57
Copy link

vctr57 commented Apr 20, 2025

Thank you very much for this, now everyone who flies using the mouse will be able to simulate again because of you, very happy and grateful for your work, a big hug

@renstavanger
Copy link

Move rudder manually key does not work

@BrunoCostaGH
Copy link
Author

Move rudder manually key does not work

Which version of X-Plane are you on @renstavanger? I haven't tested this recently. As with all XP updates these mods can break.

@m-mcqueen
Copy link

Hi! I've been using this PR for some time now for X-Plane post 12.2, however I tried it today in 12.4-b1 and it doesn't seem to be working anymore (I'm sure Laminar changed something that broke this mod). Would you have an opportunity to take a look? Thanks so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants