Scroll down (pulling closer to me) zooms out
Moderator: Oberlus
Scroll down (pulling closer to me) zooms out
To me, that is counterintuitive, how do I reverse that?
Wisdom is even more powerful than knowledge © Ari Gold
Re: Scroll down (pulling closer to me) zooms out
I'm afraid it's rather hardcoded, I suggest you simply adjust your thinking, considering mouse-up to be moving forward, and mouse-down to be pulling back.BTA wrote:To me, that is counterintuitive, how do I reverse that?
If you are a coder, or at least willing to deal with compiling FreeOrion yourself, I think you could invert the mousewheel zoom direction by changing this line to read
Code: Select all
Zoom(-move, pt);
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0
Re: Scroll down (pulling closer to me) zooms out
I don't have a mousewheel, I have a touchpad, specifically, a Dell D630, model # PP18L... AH! Maybe this instruction is for Windows? I am using Ubuntu 17.10. What do I change and where is it?
I compiled Freeorion. Imagine, it was a bit more complicated than installing.
I compiled Freeorion. Imagine, it was a bit more complicated than installing.
Wisdom is even more powerful than knowledge © Ari Gold
Re: Scroll down (pulling closer to me) zooms out
Above I included a link to the particular file and line in the latest test version. The version you compiled might be a bit older, so that the line numbers don't match exactly, but with a small bit of searching you should be able to find it. If you don't have an IDE installed for coding with then you could just make the changes with Kate or Kwrite (or whatever editor your system uses if you open the file). The change was just adding that minus sign. Then recompile.BTA wrote:What do I change and where is it?
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0
-
- Juggernaut
- Posts: 854
- Joined: Wed Aug 26, 2015 6:15 pm
Re: Scroll down (pulling closer to me) zooms out
It works the same as Ctrl + Wheel works for zooming in and out of web browsers. "Up" gets bigger, "down" gets smaller like you had a zoom slider.
It seems like the right way to me.
It seems like the right way to me.
Re: Scroll down (pulling closer to me) zooms out
It's also the default in Civ 5 and several other games I sometimes play.
An option to allow it to be changed would be a good feature request, but the default should be what other stuff does.
An option to allow it to be changed would be a good feature request, but the default should be what other stuff does.
Mat Bowles
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.
Re: Scroll down (pulling closer to me) zooms out
Yeah, I also find the current way the one I'm more used to, many programs do the same.