|
sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
|
#include <stdio.h>#include <tamtypes.h>#include <sifrpc.h>#include <kernel.h>#include <string.h>#include <iopcontrol.h>#include "librm.h"Go to the source code of this file.
Classes | |
| struct | port_state |
Functions | |
| int | RMMan_Init (void) |
| Initialise librm. | |
| u32 | RMMan_GetModuleVersion (void) |
| Returns the rmman.irx version. | |
| int | RMMan_Open (int port, int slot, void *pData) |
| int | RMMan_End (void) |
| Ends all remote communication. | |
| int | RMMan_Close (int port, int slot) |
| Closes an opened port. | |
| void | RMMan_Read (int port, int slot, struct remote_data *data) |
| Read remote data. | |
RPC Interface for PS2 Remote Control Driver (RMMAN)
Definition in file librm.c.
| int RMMan_Close | ( | int | port, |
| int | slot ) |
| int RMMan_End | ( | void | ) |
| u32 RMMan_GetModuleVersion | ( | void | ) |
| int RMMan_Open | ( | int | port, |
| int | slot, | ||
| void * | pData ) |
| [in] | port | Port number to open (0 or 1) |
| [in] | slot | Slot to open (0 or 1: multitap not supported) |
| [out] | pData | The address of the buffer for storing the pad status. Must be a 256-byte region (2xsizeof(struct pad_data). Must be a 64-byte aligned address. |
| void RMMan_Read | ( | int | port, |
| int | slot, | ||
| struct remote_data * | data ) |