Explicit binding for Ctrl + mouse axis.
Needs corresponding FG update.
This commit is contained in:
parent
9ab7110c70
commit
ba08154f05
1 changed files with 19 additions and 21 deletions
40
mice.xml
40
mice.xml
|
@ -276,7 +276,7 @@ current mode for each mouse is held in the
|
||||||
<wrap type="bool">false</wrap>
|
<wrap type="bool">false</wrap>
|
||||||
</binding>
|
</binding>
|
||||||
|
|
||||||
<!-- Middle button pressed, no Ctrl: move the view up and down -->
|
<!-- Middle button pressed move the view up and down -->
|
||||||
<binding>
|
<binding>
|
||||||
<condition>
|
<condition>
|
||||||
<and>
|
<and>
|
||||||
|
@ -284,9 +284,6 @@ current mode for each mouse is held in the
|
||||||
<property>/devices/status/mice/mouse[0]/button[0]</property>
|
<property>/devices/status/mice/mouse[0]/button[0]</property>
|
||||||
</not>
|
</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>
|
</and>
|
||||||
</condition>
|
</condition>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
|
@ -295,25 +292,26 @@ current mode for each mouse is held in the
|
||||||
<wrap type="bool">false</wrap>
|
<wrap type="bool">false</wrap>
|
||||||
</binding>
|
</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>
|
</y-axis>
|
||||||
|
|
||||||
|
<!-- Middle button and Ctrl pressed: move the view forward and backward -->
|
||||||
|
<y-axis-ctrl>
|
||||||
|
<binding>
|
||||||
|
<condition>
|
||||||
|
<and>
|
||||||
|
<not>
|
||||||
|
<property>/devices/status/mice/mouse[0]/button[0]</property>
|
||||||
|
</not>
|
||||||
|
<property>/devices/status/mice/mouse[0]/button[1]</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-ctrl>
|
||||||
|
|
||||||
</mode>
|
</mode>
|
||||||
|
|
||||||
<!-- Mode 3: spring-loaded-view mode -->
|
<!-- Mode 3: spring-loaded-view mode -->
|
||||||
|
|
Loading…
Reference in a new issue