Skip to content

Conversation

@TheBombSquad
Copy link
Contributor

Summary

  1. Added a line to .gitignore to ignore IDE configuration files generated by the Jetbrains CLion IDE.
  2. Moved the check for mouse_capture to a position before XInput events are handled. In commit c695cb8d, the behavior of xinput2_proc was changed to call the function mouse_scale_x/mouse_scale_y from the previous behavior of modifying xinput-related variables. These calls were made before the mouse_capture check, modifying global mouse variables when the mouse input was not captured.
  3. Added a check for mouse_capture before handling a QWheelEvent. This prevents an issue where mouse scrolls made while the mouse isn't captured cause the behavior of the mouse wheel being 'stuck' on certain configurations.

Checklist

References

Provide links to datasheets or other documentation that helped you implement this pull request.

@OBattler OBattler merged commit 6694c39 into 86Box:master Nov 16, 2024
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.

Serial Mouse Pointer Movement

2 participants