Sint32 pdVibIsReady( port ) Uint32 port
port | ポート番号 |
TRUE | 振動ペリフェラルが接続されている |
FALSE | 振動ペリフェラルが接続されていない |
ポート番号portには次の値が指定できます。
PDD_PORT_A1 | ポートAの拡張ソケット1 |
PDD_PORT_A2 | ポートAの拡張ソケット2 |
PDD_PORT_B1 | ポートBの拡張ソケット1 |
PDD_PORT_B2 | ポートBの拡張ソケット2 |
PDD_PORT_C1 | ポートCの拡張ソケット1 |
PDD_PORT_C2 | ポートCの拡張ソケット2 |
PDD_PORT_D1 | ポートDの拡張ソケット1 |
PDD_PORT_D2 | ポートDの拡張ソケット2 |
if (pdVibIsReady(PDD_PORT_A2)) return TRUE;