Logicool レーシングホイール
ナビゲーションに移動
検索に移動
この記事では Arch Linux で Logitech Formula Force GP Racing Wheel をセットアップする方法を説明しています。
インストール
認識
ステアリングホイールを接続したら、以下のコマンドでホイールが認識されているかどうか識別できます:
$ dmesg usb 5-2: new low speed USB device using uhci_hcd and address 6
$ lsusb Bus 005 Device 006: ID 046d:c293 Logitech, Inc. WingMan Formula Force GP
$ cat /proc/bus/input/devices I: Bus=0003 Vendor=046d Product=c293 Version=0100 N: Name="Logitech Inc. WingMan Formula Force GP" P: Phys=usb-0000:00:1a.2-2/input0 S: Sysfs=/devices/pci0000:00/0000:00:1a.2/usb5/5-2/5-2:1.0/input/input30 U: Uniq= H: Handlers=event15 js0 B: EV=20001b B: KEY=3f 0 0 0 0 0 0 0 0 0 B: ABS=3 B: MSC=10 B: FF=1 40000 0 0
テスト
linuxconsole パッケージを使うことでテストが行なえます。
evtest /dev/input/eventX を使うことで適切なデバイスを探します。数字は /proc/bus/input/devices で確認できます。例えば event15 が適切なデバイスの場合、evtest でホイールからのイベントが表示されます:
$ evtest /dev/input/event15
Input driver version is 1.0.0
Input device ID: bus 0x3 vendor 0x46d product 0xc293 version 0x100
Input device name: "Logitech Inc. WingMan Formula Force GP"
Supported events:
Event type 0 (Reset)
Event code 0 (Reset)
Event code 1 (Key)
Event code 3 (Absolute)
Event code 4 (?)
Event code 21 (ForceFeedback)
Event type 1 (Key)
Event code 288 (Trigger)
Event code 289 (ThumbBtn)
Event code 290 (ThumbBtn2)
Event code 291 (TopBtn)
Event code 292 (TopBtn2)
Event code 293 (PinkieBtn)
Event type 3 (Absolute)
Event code 0 (X)
Value 438
Min 0
Max 1023
Fuzz 3
Flat 63
Event code 1 (Y)
Value 124
Min 0
Max 255
Flat 15
Event type 4 (?)
Event code 4 (?)
Event type 21 (ForceFeedback)
Event code 82 (?)
Event code 96 (?)
Testing ... (interrupt to exit)
Event: time 1295173625.476950, type 3 (Absolute), code 0 (X), value 439
Event: time 1295173625.476983, type 0 (Reset), code 0 (Reset), value 0
Event: time 1295173625.484827, type 3 (Absolute), code 0 (X), value 428
ffcfstress を使うことでフォースフィードバックをテストできます。ハンコンは振動を開始します:
# ffcfstress -d /dev/input/event15
position center force
<-----------|****+------> <-----------|*******----> <-----------|**+-------->^C
設定
flatout2 では特に wine を設定しなくてもホイールは動作します。ゲーム内で以下のように設定する必要があります:
- Force Feedback: On
- Force level: 100%
- Sensitivity: 100%
- Deadzone: 0%
- Controller: Logitech Inc...
- Throttle: Y-Axis left
- Brake: Y-Axis right
- Steer left: X-axis left
- Steer right"X-axis right