In mouse view mode <=> one could already move the view left/right/up/down
when dragging the mouse with middle mouse button (MMB) pressed (reset with MMB+LMB): Add support for forward/backward moving (MMB+KbdCtrl). With this one can, for example, read what's written on the backside of the cup of coffee on top of the screen in the E3B's operator room, or walk around between the passenger seats in the fokker70 searching for the toilet. :-)
This commit is contained in:
parent
4b7c559b69
commit
c587c9dd3a
1 changed files with 22 additions and 2 deletions
24
mice.xml
24
mice.xml
|
@ -294,14 +294,17 @@ current mode for each mouse is held in the
|
|||
<wrap type="bool">false</wrap>
|
||||
</binding>
|
||||
|
||||
<!-- Middle button pressed: move the view up and down -->
|
||||
<!-- Middle button pressed, no Ctrl: move the view up and down -->
|
||||
<binding>
|
||||
<condition>
|
||||
<and>
|
||||
<not>
|
||||
<property>/devices/status/mice/mouse[0]/button[0]</property>
|
||||
</not>
|
||||
<property>/devices/status/mice/mouse[0]/button[1]</property>
|
||||
<property>/devices/status/mice/mouse[0]/button[1]</property>
|
||||
<not>
|
||||
<property>/devices/status/keyboard/ctrl</property>
|
||||
</not>
|
||||
</and>
|
||||
</condition>
|
||||
<command>property-adjust</command>
|
||||
|
@ -310,6 +313,23 @@ current mode for each mouse is held in the
|
|||
<wrap type="bool">false</wrap>
|
||||
</binding>
|
||||
|
||||
<!-- Middle button and Ctrl pressed: move the view forward and backward -->
|
||||
<binding>
|
||||
<condition>
|
||||
<and>
|
||||
<not>
|
||||
<property>/devices/status/mice/mouse[0]/button[0]</property>
|
||||
</not>
|
||||
<property>/devices/status/mice/mouse[0]/button[1]</property>
|
||||
<property>/devices/status/keyboard/ctrl</property>
|
||||
</and>
|
||||
</condition>
|
||||
<command>property-adjust</command>
|
||||
<property>/sim/current-view/z-offset-m</property>
|
||||
<factor type="double">1</factor>
|
||||
<wrap type="bool">false</wrap>
|
||||
</binding>
|
||||
|
||||
</y-axis>
|
||||
|
||||
</mode>
|
||||
|
|
Loading…
Add table
Reference in a new issue