Fixed Wireless controller support
This commit is contained in:
parent
dc583b901e
commit
2e05c11edc
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ Xbox360WirelessController::read(XboxGenericMsg& msg)
|
|||
else if (data[0] == 0x00 && data[1] == 0x01 && data[2] == 0x00 && data[3] == 0xf0 && data[4] == 0x00 && data[5] == 0x13)
|
||||
{
|
||||
msg.type = GAMEPAD_XBOX360_WIRELESS;
|
||||
msg.xbox360 = *reinterpret_cast<Xbox360Msg*>(&data[5]);
|
||||
msg.xbox360 = *reinterpret_cast<Xbox360Msg*>(&data[4]);
|
||||
return true;
|
||||
}
|
||||
else if (data[0] == 0x00 && data[1] == 0x00 && data[2] == 0x00 && data[3] == 0x13)
|
||||
|
|
Loading…
Reference in a new issue