#include "stdafx.h"
#include "Xbox360Controller.h"
#include "../../lib/c++/xbmcclient.h"
-#pragma comment(lib, "wsock32.lib") // needed for xmbclient.h?
+#pragma comment(lib, "wsock32.lib") // needed for xbmclient.h?
// You can have up to 4 xbox360 controllers on a system
#define MAX_NUM_CONTROLLERS 4
if (m_fd == -1) return -1;
DWORD dwNumberOfBytesWritten = 0;
- // lpBuf can be safely casted to void* since xmbc_write will only read from it.
+ // lpBuf can be safely casted to void* since xbmc_write will only read from it.
smb.Init();
CSingleLock lock(smb);
dwNumberOfBytesWritten = smbc_write(m_fd, (void*)lpBuf, (DWORD)uiBufSize);
}
return ADDON_STATUS_OK;
}
- // It is now time to set the settings got from xmbc
+ // It is now time to set the settings got from xbmc
if (strcmp(id, "Use Preset") == 0)
OnAction(34, &value);
else if (strcmp(id, "Automatic Blend Time") == 0)
}
return ADDON_STATUS_OK;
}
- // It is now time to set the settings got from xmbc
+ // It is now time to set the settings got from xbmc
if (strcmp(id, "quality")==0)
ChooseQuality (*(int*)value);
else if (strcmp(id, "shuffle")==0)