PS2SDK
PS2 Homebrew Libraries
|
Go to the source code of this file.
Macros | |
#define | SIO2_CMD_MAX 16 |
#define | PAD_ID_FINDPADS 0x01 |
#define | PAD_ID_MOUSE 0x12 |
#define | PAD_ID_NEGICON 0x23 |
#define | PAD_ID_KONAMIGUN 0x31 |
#define | PAD_ID_DIGITAL 0x41 |
#define | PAD_ID_JOYSTICK 0x53 |
#define | PAD_ID_NAMCOGUN 0x63 |
#define | PAD_ID_ANALOG 0x73 |
#define | PAD_ID_ANALOG2 0x79 |
#define | PAD_ID_MULTITAP 0x80 |
#define | PAD_ID_JOGCON 0xE3 |
#define | PAD_ID_JOGCON2 0xE5 |
#define | PAD_ID_CONFIG 0xF3 |
#define | PAD_ID_HI(id) ((id)>>4) |
#define | PAD_ID_LO(id) ((id)&0xF) |
Functions | |
void | sio2cmdReset (void) |
void | sio2cmdInitFindPads (void) |
void | sio2cmdInitMouse (void) |
void | sio2cmdInitNegicon (void) |
void | sio2cmdInitKonamiGun (void) |
void | sio2cmdInitDigital (void) |
void | sio2cmdInitJoystick (void) |
void | sio2cmdInitNamcoGun (void) |
void | sio2cmdInitAnalog (void) |
void | sio2cmdInitJogcon (void) |
void | sio2cmdInitConfig (void) |
u32 | sio2cmdCheckId (u8 id) |
void | sio2CmdSetReadData (u32 id, u8 *buf) |
u32 | sio2CmdSetEnterConfigMode (u32 id, u8 *buf) |
u32 | sio2CmdSetExitConfigMode (u32 id, u8 *buf) |
u32 | sio2CmdSetQueryModel (u32 id, u8 *buf) |
u32 | sio2CmdSetQueryAct (u32 id, u8 *buf) |
u32 | sio2CmdSetQueryComb (u32 id, u8 *buf) |
u32 | sio2CmdSetQueryMode (u32 id, u8 *buf) |
u32 | sio2CmdSetQueryButtonMask (u32 id, u8 *buf) |
u32 | sio2CmdSetSetButtonInfo (u32 id, u8 *buf) |
u32 | sio2CmdSetSetVrefParam (u32 id, u8 *buf) |
u32 | sio2CmdSetSetMainMode (u32 id, u8 *buf) |
u32 | sio2CmdSetSetActAlign (u32 id, u8 *buf) |
u32 | sio2CmdGetPortCtrl1 (u8 id, u32 b, u8 c) |
u32 | sio2CmdGetPortCtrl2 (u32 id, u32 b) |
IOP pad driver
Definition in file sio2Cmds.h.
#define SIO2_CMD_MAX 16 |
Definition at line 15 of file sio2Cmds.h.
#define PAD_ID_FINDPADS 0x01 |
Definition at line 17 of file sio2Cmds.h.
#define PAD_ID_MOUSE 0x12 |
Definition at line 18 of file sio2Cmds.h.
#define PAD_ID_NEGICON 0x23 |
Definition at line 19 of file sio2Cmds.h.
#define PAD_ID_KONAMIGUN 0x31 |
Definition at line 20 of file sio2Cmds.h.
#define PAD_ID_DIGITAL 0x41 |
Definition at line 21 of file sio2Cmds.h.
#define PAD_ID_JOYSTICK 0x53 |
Definition at line 22 of file sio2Cmds.h.
#define PAD_ID_NAMCOGUN 0x63 |
Definition at line 23 of file sio2Cmds.h.
#define PAD_ID_ANALOG 0x73 |
Definition at line 24 of file sio2Cmds.h.
#define PAD_ID_ANALOG2 0x79 |
Definition at line 25 of file sio2Cmds.h.
#define PAD_ID_MULTITAP 0x80 |
Definition at line 26 of file sio2Cmds.h.
#define PAD_ID_JOGCON 0xE3 |
Definition at line 27 of file sio2Cmds.h.
#define PAD_ID_JOGCON2 0xE5 |
Definition at line 28 of file sio2Cmds.h.
#define PAD_ID_CONFIG 0xF3 |
Definition at line 29 of file sio2Cmds.h.
#define PAD_ID_HI | ( | id | ) | ((id)>>4) |
Definition at line 31 of file sio2Cmds.h.
#define PAD_ID_LO | ( | id | ) | ((id)&0xF) |
Definition at line 32 of file sio2Cmds.h.
void sio2cmdReset | ( | void | ) |
Definition at line 42 of file sio2Cmds.c.
void sio2cmdInitFindPads | ( | void | ) |
Definition at line 165 of file sio2Cmds.c.
void sio2cmdInitMouse | ( | void | ) |
Definition at line 253 of file sio2Cmds.c.
void sio2cmdInitNegicon | ( | void | ) |
Definition at line 347 of file sio2Cmds.c.
void sio2cmdInitKonamiGun | ( | void | ) |
Definition at line 431 of file sio2Cmds.c.
void sio2cmdInitDigital | ( | void | ) |
Definition at line 515 of file sio2Cmds.c.
void sio2cmdInitJoystick | ( | void | ) |
Definition at line 607 of file sio2Cmds.c.
void sio2cmdInitNamcoGun | ( | void | ) |
Definition at line 699 of file sio2Cmds.c.
void sio2cmdInitAnalog | ( | void | ) |
Definition at line 812 of file sio2Cmds.c.
void sio2cmdInitJogcon | ( | void | ) |
Definition at line 912 of file sio2Cmds.c.
void sio2cmdInitConfig | ( | void | ) |
Definition at line 1139 of file sio2Cmds.c.
u32 sio2cmdCheckId | ( | u8 | id | ) |
Definition at line 1169 of file sio2Cmds.c.
void sio2CmdSetReadData | ( | u32 | id, |
u8 * | buf | ||
) |
Definition at line 1218 of file sio2Cmds.c.
u32 sio2CmdSetEnterConfigMode | ( | u32 | id, |
u8 * | buf | ||
) |
Definition at line 1236 of file sio2Cmds.c.
u32 sio2CmdSetExitConfigMode | ( | u32 | id, |
u8 * | buf | ||
) |
Definition at line 1339 of file sio2Cmds.c.
u32 sio2CmdSetQueryModel | ( | u32 | id, |
u8 * | buf | ||
) |
Definition at line 1254 of file sio2Cmds.c.
u32 sio2CmdSetQueryAct | ( | u32 | id, |
u8 * | buf | ||
) |
Definition at line 1288 of file sio2Cmds.c.
u32 sio2CmdSetQueryComb | ( | u32 | id, |
u8 * | buf | ||
) |
Definition at line 1305 of file sio2Cmds.c.
u32 sio2CmdSetQueryMode | ( | u32 | id, |
u8 * | buf | ||
) |
Definition at line 1322 of file sio2Cmds.c.
u32 sio2CmdSetQueryButtonMask | ( | u32 | id, |
u8 * | buf | ||
) |
Definition at line 1373 of file sio2Cmds.c.
u32 sio2CmdSetSetButtonInfo | ( | u32 | id, |
u8 * | buf | ||
) |
Definition at line 1408 of file sio2Cmds.c.
u32 sio2CmdSetSetVrefParam | ( | u32 | id, |
u8 * | buf | ||
) |
Definition at line 1390 of file sio2Cmds.c.
u32 sio2CmdSetSetMainMode | ( | u32 | id, |
u8 * | buf | ||
) |
Definition at line 1271 of file sio2Cmds.c.
u32 sio2CmdSetSetActAlign | ( | u32 | id, |
u8 * | buf | ||
) |
Definition at line 1356 of file sio2Cmds.c.
u32 sio2CmdGetPortCtrl1 | ( | u8 | id, |
u32 | b, | ||
u8 | c | ||
) |
Definition at line 1184 of file sio2Cmds.c.
u32 sio2CmdGetPortCtrl2 | ( | u32 | id, |
u32 | b | ||
) |
Definition at line 1201 of file sio2Cmds.c.