PS2SDK
PS2 Homebrew Libraries
|
#include "types.h"
#include "freepad.h"
#include "stdio.h"
#include "thevent.h"
#include "thbase.h"
#include "intrman.h"
#include "vblank.h"
#include "sifman.h"
#include "sio2Cmds.h"
#include "sysmem.h"
#include "padData.h"
Go to the source code of this file.
Functions | |
u32 sif_buffer[4] | __attribute__ ((aligned(4))) |
static void | TransferThread (void *arg) |
u32 | padSetupEEButtonData (u32 port, u32 slot, padState_t *pstate) |
static void | DmaSendEE (void) |
static u32 | GetThreadsStatus (padState_t *state) |
static void | DeleteThreads (padState_t *state) |
static void | MainThread (void *arg) |
s32 | VbReferThreadStatus (vblankData_t *vData) |
int | VblankStart (void *arg) |
int | VblankEnd (void *arg) |
s32 | padInit (void *ee_addr) |
Variables | |
int | pad_port |
int | pad_slot |
u32 | mainThreadCount2 |
u32 | pad_portdata [2] |
padState_t | padState [2][4] |
u32 | openSlots [2] |
vblankData_t | vblankData |
int | padman_init |
void * | pad_ee_addr |
int | thpri_hi |
int | thpri_lo |
SifDmaTransfer_t | sifdma_td [9] |
int | vblank_end = 0 |
u32 | frame_count = 0 |
int | sifdma_id = 0 |
u32 | vblankStartCount = 0 |
s32 | mainThreadCount = 0 |
IOP pad driver
Definition in file padInit.c.
u32 sif_buffer[4] __attribute__ | ( | (aligned(4)) | ) |
u32 padSetupEEButtonData | ( | u32 | port, |
u32 | slot, | ||
padState_t * | pstate | ||
) |
|
static |
|
static |
s32 VbReferThreadStatus | ( | vblankData_t * | vData | ) |
padState_t padState[2][4] |
vblankData_t vblankData |
SifDmaTransfer_t sifdma_td[9] |