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

Go to the source code of this file.

Functions

static void UpdatePadThread (void *arg)
 
static void QueryPadThread (void *arg)
 
static void SetMainModeThread (void *arg)
 
void SetActAlignThread (void *arg)
 
static void SetButtonInfoThread (void *arg)
 
static void SetVrefParamThread (void *arg)
 
s32 padPortOpen (s32 port, s32 slot, s32 pad_area_ee_addr, u32 *buf)
 

Variables

padState_t padState [2][4]
 
u32 openSlots [2]
 
int thpri_lo
 
int thpri_hi
 
int padman_init
 

Detailed Description

IOP pad driver

Definition in file padPortOpen.c.

Function Documentation

◆ UpdatePadThread()

static void UpdatePadThread ( void *  arg)
static

Definition at line 30 of file padPortOpen.c.

◆ QueryPadThread()

static void QueryPadThread ( void *  arg)
static

Definition at line 92 of file padPortOpen.c.

◆ SetMainModeThread()

static void SetMainModeThread ( void *  arg)
static

Definition at line 392 of file padPortOpen.c.

◆ SetActAlignThread()

void SetActAlignThread ( void *  arg)

Definition at line 454 of file padPortOpen.c.

◆ SetButtonInfoThread()

static void SetButtonInfoThread ( void *  arg)
static

Definition at line 516 of file padPortOpen.c.

◆ SetVrefParamThread()

static void SetVrefParamThread ( void *  arg)
static

Definition at line 596 of file padPortOpen.c.

◆ padPortOpen()

s32 padPortOpen ( s32  port,
s32  slot,
s32  pad_area_ee_addr,
u32 *  buf 
)

Definition at line 662 of file padPortOpen.c.

Variable Documentation

◆ padState

padState_t padState[2][4]
extern

Definition at line 33 of file padInit.c.

◆ openSlots

u32 openSlots[2]
extern

Definition at line 34 of file padInit.c.

◆ thpri_lo

int thpri_lo
extern

Definition at line 39 of file padInit.c.

◆ thpri_hi

int thpri_hi
extern

Definition at line 38 of file padInit.c.

◆ padman_init

int padman_init
extern

Definition at line 36 of file padInit.c.