anegostudios / VintageStory-Issues

Vintage Story's public issue tracker for reporting bugs, crashes and the like
42 stars 16 forks source link

Re-binding mouse buttons should have a GUI exception (potentially optional) #4041

Open meganukebmp opened 1 month ago

meganukebmp commented 1 month ago

Game Version

v1.19.8

Platform

Windows

Modded

None

SP/MP

None

Description

When rebinding the mouse buttons (for example right click to break and left click to place), this also rebinds the buttons within GUIs (inventories for example) which isnt necessarily what's wanted. Other voxel games usually allow for changing the buttons without affecting the GUI behavior.

Two proposed solutions: a) Add an exception like the sprint/sneak modifier. "Use normal mouse controls in menus" b) Split mouse rebinding into action rebinding. "Break key" and "Place key" which are independent of the menus

How to reproduce

No response

Screenshots

No response

Logs

No response

Kestrelis commented 1 month ago

Adding to this issue since I don't think I warrants a separate one--let me know if this should be moved, I'm new. The "normal mouse controls in menus" feature would also be good for those who bind a mouse button to a keyboard button instead (me). As a result of this binding, I can't actually type that key in the chat or to name a waypoint, unless I place my cursor at the end of the textbox. This seems pretty unintended.

If the controls section allowed for users to bind break and place, I assume that would also allow various bindings for mouse-buttons (mb3, mb4...) to actions which also seems to be a requested feature. It might be nice to have both proposed solutions, though, for users who need it.