Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ロジクールF310でゲームパッド入力ができない #31

Closed
Tracked by #33
suzukiplan opened this issue Feb 4, 2024 · 3 comments · Fixed by #33
Closed
Tracked by #33

ロジクールF310でゲームパッド入力ができない #31

suzukiplan opened this issue Feb 4, 2024 · 3 comments · Fixed by #33
Labels
bug Something isn't working

Comments

@suzukiplan
Copy link
Owner

Twitterでご報告いただいた。

Amazonで調べてみたところ、結構お手頃な価格(2000円)で購入できて人気がある機種のようなので対応できるようにしておきたい。

joypad検証ツールでテストいただいたところ kernel: USB joypad connected でデバイス検出自体はされているが dwhci: Transaction failed (status 0x402) が出ているとのこと。

F310実機を発注してみたので届いたらテストする。

@suzukiplan suzukiplan added the bug Something isn't working label Feb 4, 2024
@suzukiplan suzukiplan mentioned this issue Feb 5, 2024
8 tasks
@suzukiplan suzukiplan linked a pull request Feb 6, 2024 that will close this issue
8 tasks
@suzukiplan
Copy link
Owner Author

tools/joypad でテスト時のログを確認した。

DirectInput モードの場合

usbdev0-1: Device ven46d-c216 found (FS)
usbdev0-1: Product: Logicool Logicool Dual Action
usbdev0-1: Interface int3-0-0 found
usbdev0-1: Using device/interface int3-0-0
dwhci: Transaction failed (status 0x402)
kernel: USB joypad connected

入力検出は一切できない

XInput モードの場合

usbdev0-1: Device ven46d-c21d found (FS)
usbdev0-1: Product: Logicool Gamepad F310
usbdev0-1: Function is not supported
usbdev0-1: Device has no supported function
usbdev0-1: Device ven46d-c21d removed
dwhci: Cannot initialize root port

XInput はそもそも非サポートとしてデバイスが削除されるので動かない模様。
なお、Windows11でテストした場合DirectInputモードは正常に動作せずXInputモードでしか動作できなかった。
F310 の DirectInput がそもそも正常に動作できる状態なのか、少なくとも私の環境ではテストできていない。
そして、CircleはXInputコントローラをサポートしていないので動かないという状況。

@suzukiplan
Copy link
Owner Author

F310のマニュアルによるとDirectInputモードで動作させるには専用のドライバが必要らしい。
DirectInputモードの仕様が恐らく標準的なHIDゲームコントローラと違うものと考えられる。

@suzukiplan
Copy link
Owner Author

suzukiplan commented Feb 11, 2024

ラズパイ版VGS-Zeroに接続できるゲームパッドは「HID準拠のものに限りサポート & XInputは対応不可」とする方向でドキュメントに注記する方向での対応を進める予定。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant