DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
libpad.h
1
#pragma once
2
3
#define scePadStateDiscon 0
4
#define scePadStateFindPad 1
5
#define scePadStateFindCTP1 2
6
#define scePadStateExecCmd 5
7
#define scePadStateStable 6
8
#define scePadStateError 7
9
10
#define InfoModeCurID 1
11
#define InfoModeCurExID 2
12
13
#ifdef __cplusplus
14
extern
"C"
{
15
#endif
16
20
int
scePadInit(
int
mode);
21
25
int
scePadPortOpen(
int
port,
int
slot,
void
*buffer);
26
30
int
scePadRead(
int
port,
int
slot,
unsigned
char
*data);
31
35
int
scePadGetState(
int
port,
int
slot);
36
40
int
scePadInfoMode(
int
port,
int
slot,
int
info,
int
index);
41
45
int
scePadSetMainMode(
int
port,
int
slot,
int
mode,
int
lock);
46
50
int
scePadInfoAct(
int
port,
int
slot,
int
actuator,
int
command);
51
55
int
scePadSetActAlign(
int
port,
int
slot,
unsigned
char
*alignment);
56
60
int
scePadSetActDirect(
int
port,
int
slot,
unsigned
char
*values);
61
62
#ifdef __cplusplus
63
}
64
#endif
ps2
include
sce
libpad.h
Generated by
1.9.8