Minor update

This commit is contained in:
Kristian Lauszus 2012-05-30 23:55:07 +02:00
parent 9d6eb2d69b
commit b07aac63e1

View file

@ -313,8 +313,8 @@ void PS3USB::readReport()
{ {
if (readBuf == NULL) if (readBuf == NULL)
return; return;
if(PS3Connected || PS3NavigationConnected)
ButtonState = (uint32_t)(readBuf[2] | ((uint16_t)readBuf[3] << 8) | ((uint32_t)readBuf[4] << 16)); ButtonState = (uint32_t)(readBuf[2] | ((uint16_t)readBuf[3] << 8) | ((uint32_t)readBuf[4] << 16));
//Notify(PSTR("\r\nButtonState"); //Notify(PSTR("\r\nButtonState");
//PrintHex<uint32_t>(ButtonState); //PrintHex<uint32_t>(ButtonState);