Skip to content

Comments

Use software cursor by default#1704

Open
Rainyan wants to merge 7 commits intoNeotokyoRebuild:masterfrom
Rainyan:feat/software-cursor
Open

Use software cursor by default#1704
Rainyan wants to merge 7 commits intoNeotokyoRebuild:masterfrom
Rainyan:feat/software-cursor

Conversation

@Rainyan
Copy link
Collaborator

@Rainyan Rainyan commented Feb 18, 2026

Description

Default to cl_software_cursor 1. This should hopefully fix some issues reported in the Discord regarding rendering of the OS cursor. And I think stylistically it's a good fit for our custom NeoUI.

Users may still opt for the old cursor by reverting cl_software_cursor value back to 0.

Example image of the cursor:

software_cursor

Potential issues

Potential issues would be the cursor stuttering for players with a really low-end system, where they play the game with less than 60 FPS. But since that is probably a very small minority, and because those players can still revert back to the previous OS cursor with cl_software_cursor (or from the Video options in main menu), it should not have a negative impact.

Another problematic case is the loading screen where the renderer becomes blocked, since that prevents the software cursor position from updating. That makes it feel like the mouse is unresponsive which isn't great. So, during the loading screens we always revert back to OS cursor so the user can keep moving the mouse cursor around like normal even while the game renderer is blocked.

I also noticed the software cursor misbehaving inside a Virtualbox guest, but this was already a problem for general aiming so there's nothing new there really. It can be alleviated to an extent by disabling mouse integration in Virtualbox options (or perhaps preferably by disabling cl_software_cursor for such a setup). But this is likely not an issue for regular users since it's quite an uncommon environment to be gaming in.

Alternatives considered

Custom software cursor graphics. But then again, I think this default software cursor looks quite nice so maybe it's not worth it.

Toolchain

  • Windows MSVC VS2022

Linked Issues

@Rainyan Rainyan added the UI/HUD Relates to the HUD, NeoUI, menus, etc label Feb 18, 2026
@Rainyan Rainyan requested a review from a team February 18, 2026 10:39
@Rainyan Rainyan marked this pull request as draft February 18, 2026 11:14
@Rainyan Rainyan force-pushed the feat/software-cursor branch from d65591d to cb644be Compare February 18, 2026 11:15
@Rainyan Rainyan marked this pull request as ready for review February 18, 2026 11:25
@Rainyan Rainyan force-pushed the feat/software-cursor branch from accfe36 to 08c1a89 Compare February 18, 2026 11:35
Masterkatze
Masterkatze previously approved these changes Feb 18, 2026
Copy link
Contributor

@Masterkatze Masterkatze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM on Linux with high FPS. Someone please test it on Windows and potato PC.

@Rainyan Rainyan requested a review from a team February 18, 2026 21:55
@sunzenshen sunzenshen added the Conflict conflicts with master label Feb 20, 2026
@Rainyan Rainyan force-pushed the feat/software-cursor branch from 08c1a89 to 3ece57f Compare February 21, 2026 00:43
@Rainyan Rainyan removed the Conflict conflicts with master label Feb 21, 2026
@Rainyan Rainyan requested a review from Masterkatze February 21, 2026 00:45
@Rainyan
Copy link
Collaborator Author

Rainyan commented Feb 21, 2026

Rebased PR to fix merge conflict.

Copy link
Contributor

@DESTROYGIRL DESTROYGIRL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not on a potato but on windows. Though they will have the option to disable it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

UI/HUD Relates to the HUD, NeoUI, menus, etc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OS mouse cursor graphical glitch

4 participants