51 int Poll(
unsigned int *pButtons,
52 unsigned char *pAxis0,
53 unsigned char *pAxis1,
54 unsigned char *pAxis2,
55 unsigned char *pAxis3);
79 void Open(
int nPort,
int nSlot,
int nDeadZone);
114#ifdef VIDEO_STANDARD_PAL
122 static void EndLibrary();
141 static std::vector<bool> sSlotsInUse;
void Reset()
Restart the slot's setup state machine.
int IsConnected()
Report whether a pad is present.
int mId
Position of the handle among the InputPoller's JoypadPS2 objects, from 0.
Definition joypadps2.h:136
~JoypadPS2()
Release the slot.
void SetVibration(int nSmallMotor, int nBigMotor)
Drive the slot's motors through BreugPadSetMotors().
int Poll(unsigned int *pButtons, unsigned char *pAxis0, unsigned char *pAxis1, unsigned char *pAxis2, unsigned char *pAxis3)
Decode the slot's latest report through BreugPadRead(), without the pressure outputs.
JoypadPS2(int nIndex)
Claim slot nIndex.
void Open(int nPort, int nSlot, int nDeadZone)
Open the slot's pad through BreugPadInit().
static constexpr int kSlotCount
Pad slots, two ports of four multitap slots each.
Definition joypadps2.h:18
void DeInitPadData()
Close the slot's pad through scePadPortClose().
One controller's pad-library state: the DMA area libpad fills and the decoder's working state.
Definition padrecord.h:18