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

Investigate using better display names for mouse bindings #57

Open
toebeann opened this issue Jun 7, 2023 · 0 comments
Open

Investigate using better display names for mouse bindings #57

toebeann opened this issue Jun 7, 2023 · 0 comments

Comments

@toebeann
Copy link
Owner

toebeann commented Jun 7, 2023

Mouse3 and mouse4 are, according to the Unity game engine, the side-buttons on the mouse, due the fact it users a 0-based indexing system.

Currently, these bindings simply get displayed as their names according to Unity, which confuses users who assume mouse3 is middle mouse, and makes the mod look like it's made a mistake.

Under the hood, SN uses the names "MouseButtonLeft", "MouseButtonRight" and "MouseButtonMiddle" for 0, 1 and 2, and it passes these to formatter which displays them as icons.

We should investigate the possibility that they may have internal names for other mouse buttons, and if so, we need to make sure we use them. If they don't, perhaps we should handle this ourselves? Even if we just +1 the binding numbers?

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

1 participant