MouseWheel

From TTWiki
Jump to navigationJump to search

Enable the Mouse Wheel in the Windows version.

2.0.1 alpha 32 or later

Switch

Configuration file: mousewheel on|off|<bits>

Command line: -Yl <bits>

Description

This switch activates the use of the mouse wheel in the Windows version only. The DOS mouse driver does not know about the wheel at all, and so neither does TTD.

The wheel scrolls scrollable lists and zooms the main view in and out.

It will also switch the views in the minimap.

It is a bit switch. To find out how that works, see Bit Switches, or simply add up the values of the options you want:

Bit Value Name Meaning
0 1 cursorzoom Zoom in where the mouse cursor is, not to the centre of the screen
1 2 safezoom Enable safe zooming, you must roll your wheel twice to trigger zooming
2 4 legacy Enable legacy mouse wheel support (needed for some Win9x drivers)

This feature was contributed by Csaba Varga