NablaPS2Utils::_tagPadReadDataType Struct Reference
Used to easy reading into array of byte read from the pad.
More...
#include <Joypad.h>
List of all members.
|
Public Attributes |
unsigned char | Unused: 8 |
unsigned char | Status: 2 |
unsigned char | AsyStatus: 2 |
unsigned char | Type: 4 |
unsigned short int | DButtons: 16 |
unsigned char | AnalogSRX: 8 |
unsigned char | AnalogSRY: 8 |
unsigned char | AnalogSLX: 8 |
unsigned char | AnalogSLY: 8 |
unsigned char | PadR: 8 |
unsigned char | PadL: 8 |
unsigned char | PadU: 8 |
unsigned char | PadD: 8 |
unsigned char | PadTriangle: 8 |
unsigned char | PadCircle: 8 |
unsigned char | PadCross: 8 |
unsigned char | PadSquare: 8 |
unsigned char | PadL1: 8 |
unsigned char | PadR1: 8 |
unsigned char | PadL2: 8 |
unsigned char | PadR2: 8 |
Detailed Description
Pay particular attenction because DButtons is two byte data and the structure is constructed with bitset, since PS2 is little endian, byte 1 and 2 are swapped so be sure to swap button index in JoypadConst.h
Definition at line 42 of file Joypad.h.
The documentation for this struct was generated from the following file:
Generated on Wed Jan 7 19:12:18 2004 for PS2 Tutorial by
1.3.4