Changed the GC Adapter rumble command to work like other controllers.
This commit is contained in:
parent
4cf4cee30e
commit
203c64e66d
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue