Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unregister raw input device when DDIO shuts down #79

Merged
merged 3 commits into from
Apr 19, 2024

Conversation

InsanityBringer
Copy link
Contributor

This is to avoid problems with the mouse still being captured on an alt-tab.

One thing that I think should be resolved before any release is how mouse capturing will work. In windowed mode, the mouse cursor is shown, but it is still captured and exclusive to the window. Ideally, in windowed mode, the mouse should be visible and not captured when the game is in a UI. During this state, I think I can sync the software cursor with the actual hardware one, since legacy mouse events would be available.
When you're actually playing the game, however, the cursor should be invisible and captured to prevent it leaving.

@Arcnor Arcnor merged commit a282b8b into DescentDevelopers:main Apr 19, 2024
8 checks passed
@InsanityBringer InsanityBringer deleted the rawinput_fixes branch April 20, 2024 16:54
JeodC pushed a commit that referenced this pull request Apr 28, 2024
Unregister raw input device when DDIO shuts down
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.

2 participants