mouse code: input still works, very paranoid

This commit is contained in:
AJ Kelly
2011-02-14 14:26:45 -06:00
parent c14ad4955a
commit 99657b33b5
@@ -352,6 +352,8 @@ static BOOL CALLBACK DIMouse_EnumDevObjectsProc(LPCDIDEVICEOBJECTINSTANCE dev, L
if(!(dev->dwType & SupportedMask))
return DIENUM_CONTINUE; // unsupported
in.ofs = dev->dwOfs;
// xxx: does this check for scrollwheels? -aj
if(dev->dwType & DIDFT_BUTTON ) {
in.type = in.BUTTON;