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

Dead zone in mouse area when mouse locked #2672

Open
AlanDrake opened this issue Jan 28, 2025 · 0 comments
Open

Dead zone in mouse area when mouse locked #2672

AlanDrake opened this issue Jan 28, 2025 · 0 comments
Labels
context: input type: bug unexpected/erroneous behavior in the existing functionality

Comments

@AlanDrake
Copy link
Contributor

Describe the bug
If a game does not fit the game area, I can end up moving the cursor beyond, resulting in having to travel back far enough before the game recognize that I'm moving in the other direction.

This is what I expect when the cursor is not locked, but it should not happen when the mouse is locked to the window, or on exclusive fullscreen.

AGS Version
AGS 3 and 4

To Reproduce
Steps to reproduce the behavior:

  1. Start a game with black bars around (or increase the window size manually if windowed)
  2. Make sure the mouse is locked to the window (alt gr+ctrl toggle)
  3. Move beyond game area
  4. Have to travel all the way back before the game cursor recognizes I'm moving in another direction

Expected behavior
When the mouse is locked to the window, it should be locked to the game area, allowing to immediately move back no matter how far the mouse moved from the game area, otherwise it may feel like the cursor got stuck.
For all other cases, the current behavior is what expected.

Desktop (please complete the following information):

  • OS: Windows 10
@AlanDrake AlanDrake added context: input type: bug unexpected/erroneous behavior in the existing functionality labels Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
context: input type: bug unexpected/erroneous behavior in the existing functionality
Projects
None yet
Development

No branches or pull requests

2 participants