Page 1 of 1
[1.04b11] Toggle for Mouse Map Move
Posted: Wed Jun 17, 2020 5:04 pm
by Malevolence
In another thread, I suggested player assigned keybinds. Most importantly for me personally, keybinds for W-A-S-D to move the map views.
I also suggest a toggle to disable the default map movement when the mouse moves to the edges of the main window.
Using multiple monitors, I routinely have a runaway map. I also sometimes inadvertently trigger map moves when moving the cursor to hover for a tooltip.
I'll live with the arrows in the interim. [:)]
RE: Toggle for Mouse Map Move
Posted: Wed Jun 17, 2020 5:26 pm
by zgrssd
Regarding the edge scroling, do you have mouse lock turned off? Because that is what it is there for.
RE: Toggle for Mouse Map Move
Posted: Wed Jun 17, 2020 5:40 pm
by Malevolence
ORIGINAL: zgrssd
Regarding the edge scroling, do you have mouse lock turned off? Because that is what it is there for.
Yes. It is off. Mouse Lock allows the cursor to leave the game window. It does not effect the map movement.
Test it with a multi-monitor setup.
I assume the code is only testing cursor position at the edge, not timing a pause at the edge before executing the map movement. I imagine about 250ms (about 15 ticks) would be sufficient.
Moving the cursor in another monitor causes the map to move (while the game has focus). As the player needs to select something in the other monitor to have focus, it cause the map to scroll wildly.
Moving the cursor on the desktop for example, causes this wild map movement.
Finally, moving the cursor back into the game's monitor also causes the position test to begin moving the map yet again.
RE: Toggle for Mouse Map Move
Posted: Thu Jun 18, 2020 4:36 am
by Tchey
In another thread, I suggested player assigned keybinds.
Most importantly for me personally, keybinds for W-A-S-D to move the map views.
I also suggest a toggle to disable the default map movement when the mouse moves to the edges of the main window.
Yes.
Key rebinding. We don’t all have qwerty layout, or are lefty, or disabled, or anything
Rebinding keys is simply a must in any game for many reasons.
Also yes for stopping edge moves, and a way to use the mouse to pan the view, like maybe MMB (with rebinding option of course).
RE: Toggle for Mouse Map Move
Posted: Tue Jul 28, 2020 1:06 am
by Malevolence
Repeat. Version 1.04b11.