Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

CPad Class Reference

#include <pads.h>

List of all members.

Public Methods

 CPad (unsigned int port)
bool Open (void)
void Read (void)
bool IsDown (unsigned int button)
bool IsUp (unsigned int button)
bool WasPushed (unsigned int button)
bool WasReleased (unsigned int button)
float RightStickX (void)
float RightStickY (void)
float LeftStickX (void)
float LeftStickY (void)


Constructor & Destructor Documentation

CPad::CPad ( unsigned int port )
 

Definition at line 98 of file pads.cpp.


Member Function Documentation

bool CPad::IsDown ( unsigned int button )
 

Definition at line 210 of file pads.cpp.

bool CPad::IsUp ( unsigned int button )
 

Definition at line 216 of file pads.cpp.

float CPad::LeftStickX ( void ) [inline]
 

Definition at line 62 of file pads.h.

float CPad::LeftStickY ( void ) [inline]
 

Definition at line 63 of file pads.h.

bool CPad::Open ( void )
 

Definition at line 106 of file pads.cpp.

Referenced by Pads::Init().

void CPad::Read ( void )
 

Definition at line 113 of file pads.cpp.

Referenced by Pads::Read().

float CPad::RightStickX ( void ) [inline]
 

Definition at line 59 of file pads.h.

float CPad::RightStickY ( void ) [inline]
 

Definition at line 60 of file pads.h.

bool CPad::WasPushed ( unsigned int button )
 

Definition at line 222 of file pads.cpp.

Referenced by Read().

bool CPad::WasReleased ( unsigned int button )
 

Definition at line 228 of file pads.cpp.


The documentation for this class was generated from the following files:
ps2gl version 0.2