問題タブ [gamepad-api]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
39 参照

javascript - SpaceMouse Compact not working with js Gamepad api in Chrome on Ubuntu

As the title suggests I have a problem with using SpaceMouse in Chrome on Ubuntu. On Windows 10 it works fine. I've tried installing 3DxWare 10 and spacenavd but it still does not work. It is worth mentioning that the mouse works with Gazebo perfectly fine so it must be a problem with Chrome. Is there some flag in Chrome or additional software to make the SpaceMouse compatible with Gamepad api in javascript?

0 投票する
0 に答える
27 参照

gamepad-api - Webkit Gamepad API デッドゾーンを取り除くには?

ゲームパッド API 1を使用して Web ベースのゲームでコントローラー軸の値を読み取っていますが、ゲームパッド API は常に各軸の中心に一定量の「デッドゾーン」を適用することがわかりました。コントローラーのジンバルが動きます。これが一般的な家庭用コントローラーには役立つことは理解していますが、これは高精度フォーカス コントローラーには実際には望ましくありません。Webkit でこの自動適用されたデッドゾーンを無効にするにはどうすればよいですか?