![]() |
Springhead
An open source physics engine for virtual reality, haptics and motion generation.
|
仮想ジョイスティック ・使用方法は仮想マウスと同様
#include <SprHIJoyStick.h>
Public メソッド | |
| virtual bool | OnUpdate (int buttonMask, int x, int y, int z) |
| マウスが動いたときの処理 [詳細] | |
|
inlinevirtual |
| buttonMask | 押されているボタンの状態 |
| x | ジョイスティックx座標(左右) |
| y | ジョイスティックy座標(前後) |
| z | ジョイスティックひねりor上下 |
zdeltaはマウスホイールに対応するデバイスを使用する場合のみ有効.