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

Bound the mouse event on alt+tab #1

Open
ryobg opened this issue Jul 11, 2019 · 1 comment
Open

Bound the mouse event on alt+tab #1

ryobg opened this issue Jul 11, 2019 · 1 comment

Comments

@ryobg
Copy link
Owner

ryobg commented Jul 11, 2019

The capture algorithm is ran only once at the beginning. Hence, when the user alt+tab, or resize or something, the capture area is no longer valid. Probably a timed check, through Windows timers, can be used to do regular fixups.

@ryobg ryobg changed the title Bound the mouse even on alt+tab Bound the mouse event on alt+tab Jul 31, 2019
@ryobg
Copy link
Owner Author

ryobg commented Aug 26, 2020

Due to changes done in #2 currently the app is by default in Exclusive mode and switches to Non-exclusive on key activation (Insert). Hence, when the game is Exclusive mode, the cursor will be captured, but when e.g. ImGUI pops it might go away to another monitor or something. This might behave okay, but might be not? It cannot be tested currently.

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

No branches or pull requests

1 participant