Elvas Tower: Handling throttle, brakes, etc. with mouse scrollwheel? - Elvas Tower

Jump to content

Posting Rules

All new threads will be started by members of the Open Rails team, Staff, and/or Admins. Existing threads started in other forums may get moved here when it makes sense to do so.

Once a thread is started any member may post replies to it.
  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Handling throttle, brakes, etc. with mouse scrollwheel? Rate Topic: -----

#16 User is offline   superheatedsteam 

  • Engineer
  • Group: Posts: Contributing Member
  • Posts: 665
  • Joined: 28-June 08
  • Location:Perth, WA
  • Country:

Posted 26 March 2025 - 08:51 AM

It appears that at some point in the last month, the ability of the scroll wheel to alter the level of zoom in 3D cab view has changed. Now the scroll wheel controls inputs on some controllers like handles but not on buttons.

Can the option to use the mouse scroll wheel to control either the view zoom or controller inputs please be configured as an option somewhere?

Cheers,

Marek.

#17 User is offline   Weter 

  • Member, Board of Directors
  • PipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin Group
  • Posts: 9,411
  • Joined: 01-June 20
  • Gender:Not Telling
  • Simulator:ORTS
  • Country:

Posted 26 March 2025 - 09:07 AM

The PR was by James Ross.
The other developer some time back have marked sensitive areas of 2d cab with pop up yellow boxes around controls - to show, where mouse wheel affects them.

Ah, that was Siebren:
Look there (above):
https://www.elvastow...post__p__305956

#18 User is offline   gpz 

  • Superintendant
  • Group: Posts: Elite Member
  • Posts: 1,847
  • Joined: 27-October 12
  • Gender:Male
  • Location:Budapest
  • Simulator:OpenRails
  • Country:

Posted 26 March 2025 - 10:59 AM

It was me actually. When the mouse is moved over a control, that one is adjustable by the wheel. After some seconds of unmoved state the zoom level becomes changeable again.

#19 User is offline   pschlik 

  • Engineer
  • Group: Posts: Contributing Member
  • Posts: 660
  • Joined: 04-March 15
  • Gender:Male
  • Simulator:OpenRails - Unstable
  • Country:

Posted 26 March 2025 - 11:29 AM

That is, bluntly, an awful way to limit use of camera zoom. There are many situations when the mouse is being moved, and thus camera zoom being blocked, when there are no cab controls to be manipulated (and thus no reason to disable zoom at all!). That being...every external camera. This behavior should only be implemented when in a (3D?) cab view, it is less than useless for external views.

#20 User is offline   gpz 

  • Superintendant
  • Group: Posts: Elite Member
  • Posts: 1,847
  • Joined: 27-October 12
  • Gender:Male
  • Location:Budapest
  • Simulator:OpenRails
  • Country:

Posted 26 March 2025 - 12:23 PM

Nowhere above I wrote that the camera zoom is being blocked when the mouse is moved generally, especially not when not in cab view. Quote from myself: "When the mouse is MOVED OVER a control, that one is adjustable by the wheel". See above. Have you tried it btw? :-)

#21 User is offline   pschlik 

  • Engineer
  • Group: Posts: Contributing Member
  • Posts: 660
  • Joined: 04-March 15
  • Gender:Male
  • Simulator:OpenRails - Unstable
  • Country:

Posted 26 March 2025 - 06:42 PM

I'm not concerned with what you wrote I'm concerned with what has been programmed. What has been programmed is that if the mouse is visible on screen anywhere, at any time, zooming is disabled. Enter the #2 camera to see the outside of the train? The zoom level is locked until the mouse disappears after not touching it for some time (good luck not making the mouse re-appear as you try to use the scroll wheel!). Want to fly around with the #8 camera to get a good viewpoint? Can't do that as changing the camera angle with the mouse also causes the mouse to appear, disabling zoom. If this is only supposed to be a thing in 3D cabs, it has been implemented quite incorrectly!

#22 User is offline   gpz 

  • Superintendant
  • Group: Posts: Elite Member
  • Posts: 1,847
  • Joined: 27-October 12
  • Gender:Male
  • Location:Budapest
  • Simulator:OpenRails
  • Country:

Posted 26 March 2025 - 08:35 PM

Okay, seems like I have to double-check its working. Need to explicitly limit it to cab cameras as my original intention was.

#23 User is offline   superheatedsteam 

  • Engineer
  • Group: Posts: Contributing Member
  • Posts: 665
  • Joined: 28-June 08
  • Location:Perth, WA
  • Country:

Posted 27 March 2025 - 07:17 AM

Hi Peter, I appreciate the work you have done, but could this still be an option that can be toggled on or off.

This may work for some cab views but I still find that inadvertent inputs into the scroll wheel when the pointer is in the wrong location, can throw the throttle, dynamics and brakes from one extreme to the other, either throwing the brakes into emergency or severe throttle inputs that break couplers.

I commonly zoom from 40 – 60 degrees FOV, and do this by flicking the scroll wheel to induce an extended spin. Now this is often stopped short when there is a slightly induced mouse movement and now I have to wait another 2 seconds for the mouse to disappear again before spin zooming again.

Aside from accidental inputs, I find using the scroll wheel does not have the finesse of a LMB hold and drag input. Waiting 2 seconds for the pointer to disappear doesn't sound like a long time but it makes navigation in my 3D cab views clunky.

If this can't be made an option, can you please point me in the direction where this code is located so I can try and disable it from my own compiled versions in future.

Cheers,

Marek.

#24 User is offline   gpz 

  • Superintendant
  • Group: Posts: Elite Member
  • Posts: 1,847
  • Joined: 27-October 12
  • Gender:Male
  • Location:Budapest
  • Simulator:OpenRails
  • Country:

Posted 28 March 2025 - 06:01 AM

Instead of increasing the amount of options further, it might be better to assign a modifier key and a modifier lock, similar to Fn and Fn lock on laptops, Shift an Caps lock, etc.

#25 User is offline   superheatedsteam 

  • Engineer
  • Group: Posts: Contributing Member
  • Posts: 665
  • Joined: 28-June 08
  • Location:Perth, WA
  • Country:

Posted 28 March 2025 - 07:17 PM

Thanks Peter. Employ whatever method suits you best.

Cheers,

Marek.

#26 User is offline   gpz 

  • Superintendant
  • Group: Posts: Elite Member
  • Posts: 1,847
  • Joined: 27-October 12
  • Gender:Male
  • Location:Budapest
  • Simulator:OpenRails
  • Country:

Posted 04 April 2025 - 08:38 AM

View Postpschlik, on 26 March 2025 - 11:29 AM, said:

That is, bluntly, an awful way to limit use of camera zoom.

Wheel by Alt only in PR #1069, please rate again the "awfulness" factor.

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users