USB Library


Enumerations

enum  pgeUsbStates {
  PGE_USB_ACTIVATED = 0x200,
  PGE_USB_CABLE_CONNECTED = 0x020,
  PGE_USB_CONNECTION_ESTABLISHED = 0x002
}

Functions

int pgeUsbInit (void)
int pgeUsbShutdown (void)
int pgeUsbGetState (void)
int pgeUsbActivate (void)
int pgeUsbDeactivate (void)

Enumeration Type Documentation

Enumeration for USB states

Enumerator:
PGE_USB_ACTIVATED 
PGE_USB_CABLE_CONNECTED 
PGE_USB_CONNECTION_ESTABLISHED 


Function Documentation

int pgeUsbActivate ( void   ) 

Activate USB

Returns:
1 on success.

int pgeUsbDeactivate ( void   ) 

Deactivate USB

Returns:
1 on success.

int pgeUsbGetState ( void   ) 

Get the state of the USB

Returns:
One or more of pgeUsbStates.

int pgeUsbInit ( void   ) 

Initialise USB

Returns:
1 on success.

int pgeUsbShutdown ( void   ) 

Shutdown USB

Returns:
1 on success.


Generated on Mon Sep 22 16:58:14 2008 for Phoenix Game Engine by  doxygen 1.5.5