logo
ホーム •  フォーラム •  日本語wikiトップ •  アカウント情報 •  サイト内検索 •  新規登録
 ログイン
ユーザー名:

パスワード:


パスワード紛失

新規登録
 メインメニュー
 米国サイト
 オンライン状況
45 人のユーザが現在オンラインです。 (1 人のユーザが フォーラム を参照しています。)

登録ユーザ: 0
ゲスト: 45

もっと...

Re: sidewinder-precision-2の設定

このトピックの投稿一覧へ

通常 Re: sidewinder-precision-2の設定

msg# 1.1.1
depth:
2
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2004-12-12 9:00
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>

--
自作PC Pentium 4 2.80GHz LGA775/GeForce4 Ti4600/
1GBRAM/WinXP SP2 書物を捨て大空へ

投票数:29 平均点:5.17

投稿ツリー

  条件検索へ


 検索

高度な検索
 新しい登録ユーザ
ajyhexah 2024-4-16
odyrocep 2024-4-16
yjevyt 2024-4-16
parkingne 2024-4-16
sdrrr90 2024-4-16
alitope 2024-4-16
utedap 2024-4-15
ybocet 2024-4-15
yjuruq 2024-4-15
buildersi2 2024-4-15
 最近の画像(画像付)
自作11機目 F/A-18... (2022-5-27)
自作11機目 F/A-18...
飛んでみる八尾空港 (2022-4-10)
飛んでみる八尾空港
作ってみる八尾空港 (2022-4-2)
作ってみる八尾空港
F117 nighthawk (2021-5-19)
F117 nighthawk
HiTouchさん宛の画像... (2020-11-8)
HiTouchさん宛の画像...
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Theme designed by OCEAN-NET