another mouse code sync (expect more of these)
This commit is contained in:
@@ -377,13 +377,13 @@ void InputHandler_DInput::UpdatePolled( DIDevice &device, const RageTimer &tm )
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case device.MOUSE:
|
case device.MOUSE:
|
||||||
/*
|
|
||||||
DIMOUSESTATE state;
|
DIMOUSESTATE state;
|
||||||
|
|
||||||
HRESULT hr = GetDeviceState(device.Device, sizeof(state), &state);
|
HRESULT hr = GetDeviceState(device.Device, sizeof(state), &state);
|
||||||
if( hr == DIERR_INPUTLOST || hr == DIERR_NOTACQUIRED )
|
if( hr == DIERR_INPUTLOST || hr == DIERR_NOTACQUIRED )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
/*
|
||||||
// do button checks here
|
// do button checks here
|
||||||
for( unsigned i = 0; i < device.Inputs.size(); ++i )
|
for( unsigned i = 0; i < device.Inputs.size(); ++i )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user