Main Page | Namespace List | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

JoypadConst.h File Reference

More...

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Defines

#define SQUARE   0x000F
 These value are the index in internal structure array of the JoypadManager class, but are also the shift used to find corresponding bit in data read from playstation pad.

#define CROSS   0x000E
#define CIRCLE   0x000D
#define TRIANGLE   0x000C
#define R1   0x000B
#define L1   0x000A
#define R2   0x0009
#define L2   0x0008
#define LEFT   0x0007
#define DOWN   0x0006
#define RIGHT   0x0005
#define UP   0x0004
#define START   0x0003
#define R3   0x0002
#define L3   0x0001
#define SELECT   0x0000
#define RX   0x0000
 Index to refer to analog stick.

#define RY   0x0001
#define LX   0x0002
#define LY   0x0003

Enumerations

enum  ButtonState { Unpressed = 0, Pressed, MPressed, Released }
 Used to determine both present and past status of the button. More...


Functions

char * ButtonNameFromIndex (int ButtonIndex)


Detailed Description

Definition in file JoypadConst.h.


Enumeration Type Documentation

enum ButtonState
 

Enumeration values:
Unpressed  Button is unpressed, last call was unpressed also.
Pressed  Button is pressed, last call was unpressed.
MPressed  Button is mantained pressed, last call was also pressed.
Released  Button is not pressed, last call was pressed.

Definition at line 9 of file JoypadConst.h.


Generated on Wed Jan 7 19:12:05 2004 for PS2 Tutorial by doxygen 1.3.4