mouse code: input still works, very paranoid
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user