Changed the GC Adapter rumble command to work like other controllers.

This commit is contained in:
skidau 2015-03-05 23:57:18 +11:00
parent 4cf4cee30e
commit 203c64e66d
1 changed files with 7 additions and 1 deletions

View File

@ -270,7 +270,13 @@ void CSIDevice_GCController::SendCommand(u32 _Cmd, u8 _Poll)
const u8 numPAD = NetPlay_InGamePadToLocalPad(ISIDevice::m_iDeviceNumber); const u8 numPAD = NetPlay_InGamePadToLocalPad(ISIDevice::m_iDeviceNumber);
#if defined(__LIBUSB__) || defined (_WIN32) #if defined(__LIBUSB__) || defined (_WIN32)
SI_GCAdapter::Output(numPAD, command.Parameter1 & 0xff); if (numPAD < 4)
{
if (uType == 1 && uStrength > 2)
SI_GCAdapter::Output(numPAD, 1);
else
SI_GCAdapter::Output(numPAD, 0);
}
#endif #endif
if (numPAD < 4) if (numPAD < 4)
{ {