mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 23:58:59 +00:00
Made Wiimote config dialog change generate Status report. Still no working connection however.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1204 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
5b5e21e4b4
commit
f67a608c7d
8 changed files with 194 additions and 17 deletions
|
@ -98,6 +98,14 @@ void Initialize()
|
|||
// Write 0x0000 in encrypted form (0xfefe) to 0xfe in the extension register
|
||||
WriteCrypted16(g_RegExt, 0xfe, 0x0000); // Fully inserted Nunchuk
|
||||
|
||||
/*
|
||||
g_RegExt[0xfa] = 0x00;
|
||||
g_RegExt[0xfb] = 0x00;
|
||||
g_RegExt[0xfc] = 0xa4;
|
||||
g_RegExt[0xfd] = 0x20;
|
||||
g_RegExt[0xfe] = 0x00;
|
||||
g_RegExt[0xff] = 0x00;
|
||||
*/
|
||||
|
||||
// g_RegExt[0xfd] = 0x1e;
|
||||
// g_RegExt[0xfc] = 0x9a;
|
||||
|
@ -114,8 +122,15 @@ void Shutdown(void)
|
|||
{
|
||||
}
|
||||
|
||||
|
||||
// ===================================================
|
||||
/* This function produce Wiimote Input, i.e. reports from the Wiimote in response
|
||||
to Output from the Wii. */
|
||||
// ----------------
|
||||
void InterruptChannel(u16 _channelID, const void* _pData, u32 _Size)
|
||||
{
|
||||
g_channelID = _channelID; // store the channel id for manual use
|
||||
|
||||
LOGV(WII_IPC_WIIMOTE, 0, "=============================================================");
|
||||
const u8* data = (const u8*)_pData;
|
||||
|
||||
|
@ -161,6 +176,7 @@ void InterruptChannel(u16 _channelID, const void* _pData, u32 _Size)
|
|||
LOGV(WII_IPC_WIIMOTE, 0, "=============================================================");
|
||||
}
|
||||
|
||||
|
||||
void ControlChannel(u16 _channelID, const void* _pData, u32 _Size)
|
||||
{
|
||||
const u8* data = (const u8*)_pData;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue