NDOF: clean up after MinGW removal

Follow up to 9f044cb422

These comments described the difference between Microsoft & MinGW's struct definition. Now that we dropped MinGW we don't need to go into these details.
This commit is contained in:
Mike Erwin 2017-05-29 14:04:46 -04:00
parent 538fe7d48e
commit 6757ca8b40
1 changed files with 0 additions and 9 deletions

View File

@ -890,16 +890,7 @@ bool GHOST_SystemWin32::processNDOF(RAWINPUT const &raw)
// send motion. Mark as 'sent' so motion will always get dispatched.
eventSent = true;
#if defined(_MSC_VER)
// using Microsoft compiler & header files
// they invented the RawInput API, so this version is (probably) correct.
BYTE const *data = raw.data.hid.bRawData;
// struct RAWHID {
// DWORD dwSizeHid;
// DWORD dwCount;
// BYTE bRawData[1];
// };
#endif
BYTE packetType = data[0];
switch (packetType) {