Difference between revisions of "MouseWheel"

From TTWiki
Jump to navigationJump to search
m (Bot: Automated text replacement (--= +==))
(Reformat and update)
 
Line 1: Line 1:
 
Enable the Mouse Wheel in the Windows version.
 
 
=Mouse Wheel=
 
 
Enable the Mouse Wheel in the Windows version
 
   
 
'''2.0.1 alpha 32 or later'''
 
'''2.0.1 alpha 32 or later'''
Line 37: Line 33:
   
 
This feature was contributed by Csaba Varga
 
This feature was contributed by Csaba Varga
  +
[[Category:Patches]][[Category:Interface Patches]][[Category:TTDPatch]][[Category:TTDPatch Manual]]

Latest revision as of 14:21, 18 June 2011

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