16 extern s32
padInit(
void * ee_addr);
19 extern s32
padPortOpen(s32 port, s32 slot, s32 pad_area_ee_addr, u32 *buf);
20 extern u32 padGetInBuffer(u32 port, u32 slot, u8 *buf);
21 extern u32 padSetupEEButtonData(u32 port, u32 slot,
void *pstate);
22 extern u32 padGetModeConfig(u32 port, u32 slot);
26 extern u32 padGetButtonMask(u32 port, u32 slot);
27 extern u32 padSetButtonInfo(u32 port, u32 slot, u32
info);
28 extern s32
padInfoAct(u32 port, u32 slot, s32 act, u32 val);
29 extern s32 padInfoComb(u32 port, u32 slot, s32 val1, u32 val2);
30 extern s32
padInfoMode(u32 port, u32 slot, s32 val1, u32 val2);
32 #define xpadman_IMPORTS_start DECLARE_IMPORT_TABLE(padman, 1, 2)
33 #define xpadman_IMPORTS_end END_IMPORT_TABLE
35 #define I_padInit DECLARE_IMPORT(4, padInit)
36 #define I_padEnd DECLARE_IMPORT(5, padEnd)
37 #define I_padPortOpen DECLARE_IMPORT(6, padPortOpen)
38 #define I_padPortClose DECLARE_IMPORT(7, padPortClose)
39 #define I_padGetInBuffer DECLARE_IMPORT(8, padGetInBuffer)
40 #define I_padSetupEEButtonData DECLARE_IMPORT(9, padSetupEEButtonData)
41 #define I_padGetModeConfig DECLARE_IMPORT(10, padGetModeConfig)
42 #define I_padInfoAct DECLARE_IMPORT(11, padInfoAct)
43 #define I_padInfoComb DECLARE_IMPORT(12, padInfoComb)
44 #define I_padInfoMode DECLARE_IMPORT(13, padInfoMode)
45 #define I_padSetMainMode DECLARE_IMPORT(14, padSetMainMode)
46 #define I_padSetActDirect DECLARE_IMPORT(15, padSetActDirect)
47 #define I_padSetActAlign DECLARE_IMPORT(16, padSetActAlign)
48 #define I_padGetButtonMask DECLARE_IMPORT(17, padGetButtonMask)
49 #define I_padGetButtonInfo DECLARE_IMPORT(18, padGetButtonInfo)