Shinobi Library - Vibration Peripheral Function

pdVibMxIsReady

Gets connection status of the vibration peripheral

FORMAT

Sint32 pdVibMxIsReady( port )
Uint32 port

PARAMETER

port Port number

RETURN

none

DESCRIPTION

Checks whether a vibration peripheral is connected.

The following values can be set for the argument port.

 PDD_PORT_A1  Expansion socket 1 on port A 
 PDD_PORT_A2  Expansion socket 2 on port A 
 PDD_PORT_B1  Expansion socket 1 on port B 
 PDD_PORT_B2  Expansion socket 2 on port B 
 PDD_PORT_C1  Expansion socket 1 on port C 
 PDD_PORT_C2  Expansion socket 2 on port C 
 PDD_PORT_D1  Expansion socket 1 on port D 
 PDD_PORT_D2  Expansion socket 2 on port D 


EXAMPLE

if (pdVibMxIsReady(PDD_PORT_A2))
	return TRUE;

NOTE

In the present version, "TRUE" is returned if a vibration peripheral is connected. These functions are still in the evaluation version. In the future, the specs may be changed.

pdVibMxIsReady
COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999