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

Implement in-game detection and fix last coordinates initialization #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gagahsyuja
Copy link

  • The last_x_position and last_y_position init was 0, this will spawn the cursor at top left corner. Fixed by dividing screen size width and height by half.
  • Fixed accidentally pressing the master key while not in-game by detecting the window title and its resolution.

todo:

  • Showing status if the master key is pressed or not. If the game is not focused, the status will stay inactive even if you have MSFS opened.

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.

None yet

1 participant