i have an issue with the train preview window. i have rebound the normal game view zoom keys from the scroll wheel to the arrow keys. the train preview window(tpw) is still bound to the defualt settings and i cant find anything in the control options to change it.
i think its ether a bug that it didn't rebind the tpw or a feature request to add the selection in options to be able to rebind the tpw zoom speratly
zoom rebinding
-
- Smart Inserter
- Posts: 1463
- Joined: Sun Jun 15, 2014 11:39 am
- Contact:
Re: zoom rebinding
Thanks for the report,
I can confirm the issue
I can confirm the issue
Re: zoom rebinding
Because of how the GUI system works it's not simple to allow changing the bindings for the zoom in the train preview.
The train preview only knows you want to zoom in/out if the mouse is over the GUI since the mouse outside the GUI means you want to scroll the normal game zoom. If the controls are bound to something else that isn't related to the mouse then the GUI has no way to know which one you want to do.
The train preview only knows you want to zoom in/out if the mouse is over the GUI since the mouse outside the GUI means you want to scroll the normal game zoom. If the controls are bound to something else that isn't related to the mouse then the GUI has no way to know which one you want to do.
If you want to get ahold of me I'm almost always on Discord.
-
- Smart Inserter
- Posts: 1463
- Joined: Sun Jun 15, 2014 11:39 am
- Contact:
Re: zoom rebinding
im pretty sure i follow what your saying. and basically the fact that after i rebound the keys the gui doesn't care where i have the mouse the arrow keys work the main screen and scroll wheels work the preview window isnt suppost to happen. oh well i dont need to scroll the preview window that often. i can live with the issue till i replace my pos mouse
Re: zoom rebinding
Solution could be in treating zoom-in/zoom-out hotkeys as mousewheel events just everywhere (and ignoring mousewheel at all if they are bound to something different). some mouses have cranky wheels which jitter all so often. some mouses have non-jittery wheels, but they still tend to scroll a little when if you bind something to middle mouse button - which is why I believe some people would like to rebind zoom keys (mousewheel keys) to keyboard. as for gui capturing input - whenever mousewheel-replacement hotkey is pressed, it is treated as mousewheel event on whatever mouse cursor currently is.