wii finds a wiimote now

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@925 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
fires.gc
2008-10-20 20:30:37 +00:00
parent 03763372ac
commit 6faea5668a
13 changed files with 307 additions and 139 deletions

View File

@ -14,7 +14,7 @@ typedef void (*TLog)(const char* _pMessage);
// Called when the Wiimote sends input reports to the Core.
// Payload: an L2CAP packet.
typedef void (*TWiimoteInput)(const void* _pData, u32 _Size);
typedef void (*TWiimoteInput)(u16 _channelID, const void* _pData, u32 _Size);
// This data is passed from the core on initialization.
typedef struct
@ -71,7 +71,16 @@ EXPORT void CALL Wiimote_Shutdown();
// input: Da pakket.
// output: none
//
EXPORT void CALL Wiimote_Output(const void* _pData, u32 _Size);
EXPORT void CALL Wiimote_Output(u16 _channelID, const void* _pData, u32 _Size);
// __________________________________________________________________________________________________
// Function: Wiimote_Input
// Purpose: An L2CAP packet is passed from the Core to the Wiimote,
// on the HID INPUT channel.
// input: Da pakket.
// output: none
//
EXPORT void CALL Wiimote_Input(u16 _channelID, const void* _pData, u32 _Size);
// __________________________________________________________________________________________________
// Function: Wiimote_Update