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

Mouse cursor size borrowed from desktop resolution, not game resolution #1000

Closed
CobraA1 opened this issue Oct 26, 2022 · 3 comments
Closed

Comments

@CobraA1
Copy link

CobraA1 commented Oct 26, 2022

Describe the bug
Whenever I use my 4K TV with the desktop at a high resolution, the mouse cursor appears tiny in the game. This happens even when the game is set to a low resolution or high UI scaling.

Steps to reproduce
On Steam Deck: Connect to a 4K TV, go to display settings and set a 4K resolution. Then launch the game.

Adjusting launch resolution and in-game settings doesn't seem to make a difference, only setting the display settings in SteamOS itself.

Build version
0.86.2.3

Platform
SteamOS (on Steam Deck) is primary use case, although I was able to reproduce the issue on Windows.

Reproducibility
Easy to reproduce on the Steam Deck.

Logs/saves
Available if requested.

Desired behavior

  • The mouse cursor should not be tiny at low resolutions; the size should be consistent with the scaling / resolution settings.
  • Would like the mouse cursor size scale with the UI scaling - if I increase the UI scale at 4K resolution, the mouse cursor should scale as well.
@andrewpey
Copy link
Collaborator

The cursor in the game is rendered in hardware mode. This means its rendering is controlled by OS, not the game itself.

As a workaround, we can try to add an option to enable software rendering mode, but this mode has its downsides, like, it could move not as smoothly as hardware one due to inconsistent frame rates.

@CobraA1
Copy link
Author

CobraA1 commented Oct 26, 2022

If you are using custom cursors, maybe you could have two or three sizes that the game selects depending on the circumstance (or on user preference, which might be easier to implement?).

Otherwise, I would like the option of a software cursor.

Having a tiny cursor makes it really easy to lose track of it. Almost unplayable on a game that largely depends on mouse / keyboard support.

@andrewpey
Copy link
Collaborator

andrewpey commented Jan 21, 2023

It took some time, but finally the solution is here: we've added support for software cursor rendering in the recent
beta update. It respects the UI scale so this should definitely improve things for you.

You can toggle it in Settings -> General -> Use software cursor.

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

2 participants