Re: sidewinder-precision-2の設定
zeek52
居住地: 神奈川
投稿数: 34
すいません、アカウント登録しないこのスレッドを建ててしまいました、
XMLというファイルを始めて見たものでなんせ急ごしらえですが
最初はjoysticks.xmlのDefault deviceをsidewinder-force-feed-pro.xmlなどのJOYボタンの似たものに変えてみましたが
起動した瞬間視点がくるくる回ってしまったので
sidewinder-precision-pro.xmlを変更しました
- <number>
<unix>6</unix>
<windows>6</windows>
</number>
の部分を変えてしまったのでWindowsじゃないと使えないと思われますm(__)m
以下コピペします
<?xml version="1.0"?>
<!--
************************************************************************
* Bindings for Microsoft SideWinder Force Feed joystick.
*
*
* Axis 0: ailerons
* Axis 1: elevator
* Axis 2 (twist):rudder
* Axis 3: throttle
* Axis 4 (hat):view direction
* Axes 5 (hat):view elevation
*
* Button 0 (trigger):not assigned
* Button 1:all brakes
* Button 2:elevator trim up
* Button 3:elevator trim down
* Button 4:right brake only
* Button 5:flap up
* Button 6:flap down
* Button 7:left brake only
************************************************************************
$Id: sidewinder-precision-pro.xml,v 1.10 2004/04/29 09:18:57 ehofman Exp $
-->
<PropertyList>
<name>Microsoft SideWinder Precision Pro</name>
<name>Microsoft SideWinder Precision 2 Joystick</name>
<name>Microsoft Microsoft SideWinder Precision Pro (USB)</name>
<axis n="0">
<desc>Aileron</desc>
<binding>
<command>property-scale</command>
<property>/controls/flight/aileron</property>
<squared type="bool">true</squared>
</binding>
</axis>
<axis n="1">
<desc>Elevator</desc>
<binding>
<command>property-scale</command>
<property>/controls/flight/elevator</property>
<factor type="double">-1.0</factor>
<squared type="bool">true</squared>
</binding>
</axis>
<axis>
<desc>Rudder</desc>
<number>
<unix>2</unix>
<windows>3</windows>
</number>
<binding>
<command>property-scale</command>
<property>/controls/flight/rudder</property>
<factor type="double">1.0</factor>
</binding>
</axis>
<axis>
<desc>Throttle</desc>
<number>
<unix>3</unix>
<windows>2</windows>
</number>
<binding>
<command>nasal</command>
<script>controls.throttleAxis()</script>
</binding>
</axis>
<axis>
<desc>View Direction</desc>
<number>
<unix>4</unix>
<windows>6</windows>
</number>
<low>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/sim/current-view/goal-heading-offset-deg</property>
<step type="double">1.0</step>
</binding>
</low>
<high>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/sim/current-view/goal-heading-offset-deg</property>
<step type="double">-1.0</step>
</binding>
</high>
</axis>
<axis>
<desc>View Elevation</desc>
<number>
<unix>5</unix>
<windows>7</windows>
</number>
<low>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/sim/current-view/goal-pitch-offset-deg</property>
<step type="double">1.0</step>
</binding>
</low>
<high>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/sim/current-view/goal-pitch-offset-deg</property>
<step type="double">-1.0</step>
</binding>
</high>
</axis>
<button n="1">
<desc>Brakes</desc>
<binding>
<command>property-assign</command>
<property>/controls/gear/brake-left</property>
<value type="double">1.0</value>
</binding>
<binding>
<command>property-assign</command>
<property>/controls/gear/brake-right</property>
<value type="double">1.0</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/controls/gear/brake-left</property>
<value type="double">0.0</value>
</binding>
<binding>
<command>property-assign</command>
<property>/controls/gear/brake-right</property>
<value type="double">0.0</value>
</binding>
</mod-up>
</button>
<button n="2">
<desc>Elevator trim up</desc>
<repeatable type="bool">true</repeatable>
<binding>
<command>property-adjust</command>
<property>/controls/flight/elevator-trim</property>
<step type="double">0.001</step>
</binding>
</button>
<button n="3">
<desc>Elevator trim down</desc>
<repeatable type="bool">true</repeatable>
<binding>
<command>property-adjust</command>
<property>/controls/flight/elevator-trim</property>
<step type="double">-0.001</step>
</binding>
</button>
<button n="4">
<desc>Flaps down</desc>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property>/controls/flight/flaps</property>
<step type="double">-0.34</step>
</binding>
</button>
<button n="5">
<desc>Flaps up</desc>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property>/controls/flight/flaps</property>
<step type="double">0.34</step>
</binding>
</button>
<button n="7">
<desc>Right brake</desc>
<binding>
<command>property-assign</command>
<property>/controls/gear/brake-right</property>
<value type="double">1.0</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/controls/gear/brake-right</property>
<value type="double">0.0</value>
</binding>
</mod-up>
</button>
<button>
<desc>Left brake</desc>
<number>
<unix>6</unix>
<windows>6</windows>
</number>
<binding>
<command>property-assign</command>
<property>/controls/gear/brake-left</property>
<value type="double">1.0</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/controls/gear/brake-left</property>
<value type="double">0.0</value>
</binding>
</mod-up>
</button>
</PropertyList>
XMLというファイルを始めて見たものでなんせ急ごしらえですが
最初はjoysticks.xmlのDefault deviceをsidewinder-force-feed-pro.xmlなどのJOYボタンの似たものに変えてみましたが
起動した瞬間視点がくるくる回ってしまったので
sidewinder-precision-pro.xmlを変更しました
- <number>
<unix>6</unix>
<windows>6</windows>
</number>
の部分を変えてしまったのでWindowsじゃないと使えないと思われますm(__)m
以下コピペします
<?xml version="1.0"?>
<!--
************************************************************************
* Bindings for Microsoft SideWinder Force Feed joystick.
*
*
* Axis 0: ailerons
* Axis 1: elevator
* Axis 2 (twist):rudder
* Axis 3: throttle
* Axis 4 (hat):view direction
* Axes 5 (hat):view elevation
*
* Button 0 (trigger):not assigned
* Button 1:all brakes
* Button 2:elevator trim up
* Button 3:elevator trim down
* Button 4:right brake only
* Button 5:flap up
* Button 6:flap down
* Button 7:left brake only
************************************************************************
$Id: sidewinder-precision-pro.xml,v 1.10 2004/04/29 09:18:57 ehofman Exp $
-->
<PropertyList>
<name>Microsoft SideWinder Precision Pro</name>
<name>Microsoft SideWinder Precision 2 Joystick</name>
<name>Microsoft Microsoft SideWinder Precision Pro (USB)</name>
<axis n="0">
<desc>Aileron</desc>
<binding>
<command>property-scale</command>
<property>/controls/flight/aileron</property>
<squared type="bool">true</squared>
</binding>
</axis>
<axis n="1">
<desc>Elevator</desc>
<binding>
<command>property-scale</command>
<property>/controls/flight/elevator</property>
<factor type="double">-1.0</factor>
<squared type="bool">true</squared>
</binding>
</axis>
<axis>
<desc>Rudder</desc>
<number>
<unix>2</unix>
<windows>3</windows>
</number>
<binding>
<command>property-scale</command>
<property>/controls/flight/rudder</property>
<factor type="double">1.0</factor>
</binding>
</axis>
<axis>
<desc>Throttle</desc>
<number>
<unix>3</unix>
<windows>2</windows>
</number>
<binding>
<command>nasal</command>
<script>controls.throttleAxis()</script>
</binding>
</axis>
<axis>
<desc>View Direction</desc>
<number>
<unix>4</unix>
<windows>6</windows>
</number>
<low>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/sim/current-view/goal-heading-offset-deg</property>
<step type="double">1.0</step>
</binding>
</low>
<high>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/sim/current-view/goal-heading-offset-deg</property>
<step type="double">-1.0</step>
</binding>
</high>
</axis>
<axis>
<desc>View Elevation</desc>
<number>
<unix>5</unix>
<windows>7</windows>
</number>
<low>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/sim/current-view/goal-pitch-offset-deg</property>
<step type="double">1.0</step>
</binding>
</low>
<high>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/sim/current-view/goal-pitch-offset-deg</property>
<step type="double">-1.0</step>
</binding>
</high>
</axis>
<button n="1">
<desc>Brakes</desc>
<binding>
<command>property-assign</command>
<property>/controls/gear/brake-left</property>
<value type="double">1.0</value>
</binding>
<binding>
<command>property-assign</command>
<property>/controls/gear/brake-right</property>
<value type="double">1.0</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/controls/gear/brake-left</property>
<value type="double">0.0</value>
</binding>
<binding>
<command>property-assign</command>
<property>/controls/gear/brake-right</property>
<value type="double">0.0</value>
</binding>
</mod-up>
</button>
<button n="2">
<desc>Elevator trim up</desc>
<repeatable type="bool">true</repeatable>
<binding>
<command>property-adjust</command>
<property>/controls/flight/elevator-trim</property>
<step type="double">0.001</step>
</binding>
</button>
<button n="3">
<desc>Elevator trim down</desc>
<repeatable type="bool">true</repeatable>
<binding>
<command>property-adjust</command>
<property>/controls/flight/elevator-trim</property>
<step type="double">-0.001</step>
</binding>
</button>
<button n="4">
<desc>Flaps down</desc>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property>/controls/flight/flaps</property>
<step type="double">-0.34</step>
</binding>
</button>
<button n="5">
<desc>Flaps up</desc>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property>/controls/flight/flaps</property>
<step type="double">0.34</step>
</binding>
</button>
<button n="7">
<desc>Right brake</desc>
<binding>
<command>property-assign</command>
<property>/controls/gear/brake-right</property>
<value type="double">1.0</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/controls/gear/brake-right</property>
<value type="double">0.0</value>
</binding>
</mod-up>
</button>
<button>
<desc>Left brake</desc>
<number>
<unix>6</unix>
<windows>6</windows>
</number>
<binding>
<command>property-assign</command>
<property>/controls/gear/brake-left</property>
<value type="double">1.0</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/controls/gear/brake-left</property>
<value type="double">0.0</value>
</binding>
</mod-up>
</button>
</PropertyList>
--
自作PC Pentium 4 2.80GHz LGA775/GeForce4 Ti4600/
1GBRAM/WinXP SP2 書物を捨て大空へ
投票数:43
平均点:4.88
投稿ツリー
-
sidewinder-precision-2の設定
(ゲスト, 2004-12-11 21:49)
-
Re: sidewinder-precision-2の設定
(tetsu, 2004-12-11 23:43)
-
Re: sidewinder-precision-2の設定
(zeek52, 2004-12-12 9:00)
- Re: sidewinder-precision-2の設定 (tetsu, 2004-12-12 21:44)
-
Re: sidewinder-precision-2の設定
(zeek52, 2004-12-12 9:00)
-
Re: sidewinder-precision-2の設定
(tetsu, 2004-12-11 23:43)