Sionの日記

オッサンゲーマー

Project Motor Racing:H-Shifterがアサインできない

シフター自体は認識しているんだけど、1速~7速+バックにアサインできないので調査。結論として、Discordの書き込みを参考に自分の中華シフターのデバイスID・プロダクトIDをxmlファイルに書いて、ドキュメント以下のProject Motor Racingのフォルダに置いたらアサインできるようになった。ついでにCB1とかペダルとかがどんなボタンで認識してるのかも確認。ペダルのアクセルは2つの軸が反応するみたいで、Assetto Corsa Rallyがアクセルをちゃんと認識できない理由が何となくわかったw

discord.com

それよりゲームのほうなんだが、スキール音してる状態の挙動がイメージと合ってないらしくベタグリップで走るとタイムが全然でないというどうにもならん状況。あと、アクセルがすごく難しくて、ラフに踏むとすぐにホイールスピンして全く加速しない。まずはアクセルの踏み方練習が必要そうです。

 

俺の例をさらしておく(基本的にはサンプルでアップロードされていたxmlファイルのproductid、vendorId、productNameのkeyword textを変えただけ)

C:\Users\[userid]\Documents\My Games\ProjectMotorRacing\inputDevicesManual\Generic_MT-12H_Shifter.xml

<deviceMapping backends="directInput" > <!-- Use directInput if your device is not detected by the game, otherwise use rawInput -->
    <productKey productId="0518" vendorId="2023" /> <!-- ProductID and VendorID can be identified via device manager properties or through a website like https://hardwaretester.com/gamepad -->
    <productName vendorId="2023"> <!-- Insert the VendorID again -->
        <keyword text="MT-12H" /> <!-- This is how the device is identified in Windows, write one word per line. Add extra lines if needed -->
    </productName>
    <category>shifter</category>  <!-- The categories we use are: gamepad, wheel, pedals, shifter, joystick, farmWheel, farmSidePanel, unknown -->
    <buttonMappings>
        
    </buttonMappings>
    <axisMappings>
        
    </axisMappings>
</deviceMapping>