PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
padCmds.c File Reference
#include "types.h"
#include "thevent.h"
#include "freepad.h"
#include "sio2Cmds.h"
#include "padData.h"
+ Include dependency graph for padCmds.c:

Go to the source code of this file.

Functions

static void shiftarray (u8 *buf)
 
u32 PadIsSupported (padState_t *pstate)
 
u32 VrefParam (u32 val, padState_t *pstate)
 
u32 ReadData (padState_t *pstate)
 
u32 EnterConfigMode (u8 val, padState_t *pstate)
 
u32 QueryModel (padState_t *pstate)
 
u32 SetMainMode (padState_t *pstate)
 
u32 QueryAct (u32 actuator, padState_t *pstate)
 
u32 QueryComb (u32 val, padState_t *pstate)
 
u32 QueryMode (u32 val, padState_t *pstate)
 
u32 ExitConfigMode (padState_t *pstate)
 
u32 SetActAlign (padState_t *pstate)
 
u32 QueryButtonMask (padState_t *pstate)
 
u32 SetButtonInfo (padState_t *pstate)
 

Detailed Description

IOP pad driver

Definition in file padCmds.c.

Function Documentation

◆ shiftarray()

static void shiftarray ( u8 *  buf)
static

Definition at line 18 of file padCmds.c.

◆ PadIsSupported()

u32 PadIsSupported ( padState_t pstate)

Definition at line 32 of file padCmds.c.

◆ VrefParam()

u32 VrefParam ( u32  val,
padState_t pstate 
)

Definition at line 90 of file padCmds.c.

◆ ReadData()

u32 ReadData ( padState_t pstate)

Definition at line 140 of file padCmds.c.

◆ EnterConfigMode()

u32 EnterConfigMode ( u8  val,
padState_t pstate 
)

Definition at line 203 of file padCmds.c.

◆ QueryModel()

u32 QueryModel ( padState_t pstate)

Definition at line 254 of file padCmds.c.

◆ SetMainMode()

u32 SetMainMode ( padState_t pstate)

Definition at line 314 of file padCmds.c.

◆ QueryAct()

u32 QueryAct ( u32  actuator,
padState_t pstate 
)

Definition at line 365 of file padCmds.c.

◆ QueryComb()

u32 QueryComb ( u32  val,
padState_t pstate 
)

Definition at line 424 of file padCmds.c.

◆ QueryMode()

u32 QueryMode ( u32  val,
padState_t pstate 
)

Definition at line 484 of file padCmds.c.

◆ ExitConfigMode()

u32 ExitConfigMode ( padState_t pstate)

Definition at line 540 of file padCmds.c.

◆ SetActAlign()

u32 SetActAlign ( padState_t pstate)

Definition at line 587 of file padCmds.c.

◆ QueryButtonMask()

u32 QueryButtonMask ( padState_t pstate)

Definition at line 638 of file padCmds.c.

◆ SetButtonInfo()

u32 SetButtonInfo ( padState_t pstate)

Definition at line 700 of file padCmds.c.