1
0
Fork 0

Updates to scroll-wheel mouse bindings for consistency:

1) Remove trim binding from normal mode (causes problems when used with radio tuning)
2) Replace trim binding in view mode with FoV binding.
This commit is contained in:
stuart 2009-03-13 21:45:34 +00:00
parent 707711dbc2
commit 7ddf27517f

View file

@ -32,24 +32,6 @@ current mode for each mouse is held in the
</binding>
</button>
<!-- extra buttons control elevator trim -->
<!-- these are often assigned to mouse-wheel motion in Linux -->
<button n="3">
<binding>
<command>property-adjust</command>
<property>/controls/flight/elevator-trim</property>
<step type="double">0.002</step>
</binding>
</button>
<button n="4">
<binding>
<command>property-adjust</command>
<property>/controls/flight/elevator-trim</property>
<step type="double">-0.002</step>
</binding>
</button>
</mode>
<mode n="1">
@ -193,21 +175,19 @@ current mode for each mouse is held in the
</binding>
</button>
<!-- extra buttons control elevator trim -->
<!-- extra buttons control FoV -->
<!-- these are often assigned to mouse-wheel motion in Linux -->
<button n="3">
<binding>
<command>property-adjust</command>
<property>/controls/flight/elevator-trim</property>
<step type="double">0.01</step>
<command>nasal</command>
<script>view.decrease()</script>
</binding>
</button>
<button n="4">
<binding>
<command>property-adjust</command>
<property>/controls/flight/elevator-trim</property>
<step type="double">-0.01</step>
<command>nasal</command>
<script>view.increase()</script>
</binding>
</button>