#include <revolution/os/OSSerial.h> #define SI_N64_CONTROLLER (SI_TYPE_N64 | 0x05000000) #define SI_N64_MIC (SI_TYPE_N64 | 0x00010000) #define SI_N64_KEYBOARD (SI_TYPE_N64 | 0x00020000) #define SI_N64_MOUSE (SI_TYPE_N64 | 0x02000000) #define SI_GBA (SI_TYPE_N64 | 0x00040000) #define SI_GC_CONTROLLER (SI_TYPE_GC | SI_GC_STANDARD) #define SI_GC_RECEIVER (SI_TYPE_GC | SI_GC_WIRELESS) #define SI_GC_WAVEBIRD (SI_TYPE_GC | SI_GC_WIRELESS | SI_GC_STANDARD | SI_WIRELESS_STATE | SI_WIRELESS_FIX_ID) #define SI_GC_KEYBOARD (SI_TYPE_GC | 0x00200000) #define SI_GC_STEERING (SI_TYPE_GC | 0x00000000) #define SI_ERROR_UNKNOWN 0x0040 #define SI_ERROR_BUSY 0x0080 // still detecting char* SIGetTypeString(u32 type);
| type | Type returned by SIProbe. |
|---|
Description string for the specified controller.
This function gets the description string of the specified controller type returned by SIProbe.
| Definition Name | Description String |
| SI_N64_CONTROLLER | N64 controller |
|---|---|
| SI_N64_MIC | N64 microphone |
| SI_N64_KEYBOARD | N64 keyboard |
| SI_N64_MOUSE | N64 mouse |
| SI_GBA | GameBoy Advance |
| SI_GC_CONTROLLER | Standard controller |
| SI_GC_RECEIVER | Wireless receiver |
| SI_GC_WAVEBIRD | WaveBird controller |
| SI_ERROR_NO_RESPONSE | No response |
| SI_GC_KEYBOARD | Keyboard |
| SI_GC_STEERING | Steering wheel |
| SI_ERROR_UNKNOWN | Unknown |
| SI_ERROR_BUSY | Busy |
2006/03/01 Initial version.
CONFIDENTIAL