Difference between revisions of "MouseWheel"

From TTWiki
Jump to navigationJump to search
m (4 revisions)
 
m (Bot: Automated text replacement (--= +==))
Line 1: Line 1:
   
'''''Enable the Mouse Wheel in the Windows version'''''
 
   
 
=Mouse Wheel=
 
=Mouse Wheel=
Line 8: Line 7:
 
'''2.0.1 alpha 32 or later'''
 
'''2.0.1 alpha 32 or later'''
   
-=Switch=-
+
==Switch==
   
Configuration file: mousewheel on|off|<bits>
+
Configuration file: mousewheel on|off|<bits>
   
Command line: -Yl &lt;bits&gt;
+
Command line: -Yl <bits>
   
-=Description=-
+
==Description==
   
This switch activates the use of the mouse wheel ''in the Windows version only''. &nbsp;The DOS mouse driver does not know about the wheel at all, and so neither does TTD.
+
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.
 
The wheel scrolls scrollable lists and zooms the main view in and out.
Line 22: Line 21:
 
It will also switch the views in the minimap.
 
It will also switch the views in the minimap.
   
It is a bit switch. &nbsp;To find out how that works, see [[BitSwitches|Bit Switches]], or simply add up the values of the options you want:
+
It is a bit switch. To find out how that works, see [[BitSwitches| Bit Switches]], or simply add up the values of the options you want:
   
  +
{|
||Bit|Value|Name|Meaning
+
!Bit!!Value!!Name!!Meaning
   
  +
|-
0|1|cursorzoom|Zoom in where the mouse cursor is, not to the centre of the screen
+
|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
+
|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)||
+
|2||4||legacy||Enable legacy mouse wheel support (needed for some Win9x drivers)
  +
|}
   
 
This feature was contributed by Csaba Varga
 
This feature was contributed by Csaba Varga

Revision as of 11:18, 15 June 2011


Mouse Wheel

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