Skip to content
This repository was archived by the owner on Jul 15, 2026. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Use this instead: https://github.com/stuart11n/cursor-switcher

What is this?

It's a small program that breaks the MSFS cursor lock when switching between desktop and VR via a desktop switching tool such as DesktopXR

Details

When using the amazing DesktopXR with MSFS2024, jumping to the desktop presents a problem because the mouse cursor remains locked to MSFS2024 and unresponsive to input. To break the lock you must press the Windows key (or another magic combination). This can be quite awkward in VR, especially if you're doing something that only requires mouse input (referencing a document, adjusting simhub settings etc). The same problem occurs when switching back to MSFS: if a desktop window has focus, the mouse cursor will be inactive in the game until you click on the MSFS window so it can re-capture the mouse cursor.

How to use

In combination with a key mapper, in my case SPAD.next, CursorLockBreaker breaks the lock so the mouse is immediately active in both directions.

I use it by mapping a button on my yoke for switching back and forth between the game and desktop. When the button is pressed it fires off the the DesktopXR hotkey (in my case F12) and runs CursorLockBreaker.

image

Limitation

There is one limitation: When you enter the desktop you must click a Window to complete the focus switch, if you switch straight back to the game it will not have focus (I'm sure this could be automated - but the single-click didn't bother me enough to try).

Installation

Put the contents of the zip into a folder of your choosing.

About

Breaks the MSFS2024 cursor lock when jumping out of VR using e.g. DesktopXR

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages