Difference between revisions of "MouseWheel"
From TTWiki
Jump to navigationJump to searchm (4 revisions) |
(Reformat and update) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
⚫ | |||
− | |||
− | '''''Enable the Mouse Wheel in the Windows version''''' |
||
− | |||
− | =Mouse Wheel= |
||
− | |||
⚫ | |||
'''2.0.1 alpha 32 or later''' |
'''2.0.1 alpha 32 or later''' |
||
− | + | ==Switch== |
|
− | Configuration file: mousewheel on|off| |
+ | Configuration file: mousewheel on|off|<bits> |
− | Command line: -Yl |
+ | Command line: -Yl <bits> |
− | + | ==Description== |
|
− | This switch activates the use of the mouse wheel ''in the Windows version only''. |
+ | 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 17: | ||
It will also switch the views in the minimap. |
It will also switch the views in the minimap. |
||
− | It is a bit switch. |
+ | 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 |
|
+ | |- |
||
− | 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 |
||
+ | [[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