mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 08:39:00 +00:00
some linux wiimote stuff
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1213 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
76ca6ac031
commit
ec19b6b024
7 changed files with 72 additions and 821 deletions
|
@ -135,7 +135,8 @@ void SendReportCoreAccelIr12(u16 _channelID) {
|
|||
LOGV(WII_IPC_WIIMOTE, 2, " Offset: %08x", Offset);
|
||||
|
||||
// Debugging
|
||||
/**/if(GetAsyncKeyState('V'))
|
||||
#ifdef _WIN32
|
||||
if(GetAsyncKeyState('V'))
|
||||
{
|
||||
wprintf("DataFrame: ");
|
||||
for (int i = 0; i < Offset; i++)
|
||||
|
@ -145,7 +146,7 @@ void SendReportCoreAccelIr12(u16 _channelID) {
|
|||
}
|
||||
wprintf("\n");
|
||||
}
|
||||
|
||||
#endif
|
||||
g_WiimoteInitialize.pWiimoteInput(_channelID, DataFrame, Offset);
|
||||
}
|
||||
|
||||
|
@ -172,7 +173,8 @@ void SendReportCoreAccelExt16(u16 _channelID)
|
|||
LOGV(WII_IPC_WIIMOTE, 2, " SendReportCoreAccelExt16()");
|
||||
|
||||
// Debugging
|
||||
/**/if(GetAsyncKeyState('V'))
|
||||
#ifdef _WIN32
|
||||
if(GetAsyncKeyState('V'))
|
||||
{
|
||||
wprintf("DataFrame: ");
|
||||
for (int i = 0; i < Offset; i++)
|
||||
|
@ -182,7 +184,7 @@ void SendReportCoreAccelExt16(u16 _channelID)
|
|||
}
|
||||
wprintf("\n");
|
||||
}
|
||||
|
||||
#endif
|
||||
g_WiimoteInitialize.pWiimoteInput(_channelID, DataFrame, Offset);
|
||||
}
|
||||
|
||||
|
@ -207,7 +209,8 @@ void SendReportCoreAccelIr10Ext(u16 _channelID)
|
|||
LOGV(WII_IPC_WIIMOTE, 2, " SendReportCoreAccelIr10Ext()");
|
||||
|
||||
// Debugging
|
||||
/**/if(GetAsyncKeyState('V'))
|
||||
#ifdef _WIN32
|
||||
if(GetAsyncKeyState('V'))
|
||||
{
|
||||
wprintf("DataFrame: ");
|
||||
for (int i = 0; i < Offset; i++)
|
||||
|
@ -217,9 +220,9 @@ void SendReportCoreAccelIr10Ext(u16 _channelID)
|
|||
}
|
||||
wprintf("\n");
|
||||
}
|
||||
|
||||
#endif
|
||||
g_WiimoteInitialize.pWiimoteInput(_channelID, DataFrame, Offset);
|
||||
}
|
||||
|
||||
|
||||
} // end of namespace
|
||||
} // end of namespace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue