quiet unneeded output
This commit is contained in:
@@ -324,6 +324,8 @@ void InputHandler_DInput::UpdateBuffered(DIDevice &device, const RageTimer &tm)
|
|||||||
|
|
||||||
numevents = INPUT_QSIZE;
|
numevents = INPUT_QSIZE;
|
||||||
HRESULT hr = IDirectInputDevice2_GetDeviceData( device.Device, sizeof(DIDEVICEOBJECTDATA), evtbuf, &numevents, 0);
|
HRESULT hr = IDirectInputDevice2_GetDeviceData( device.Device, sizeof(DIDEVICEOBJECTDATA), evtbuf, &numevents, 0);
|
||||||
|
if ( hr == DIERR_INPUTLOST || hr == DIERR_NOTACQUIRED )
|
||||||
|
return;
|
||||||
|
|
||||||
/* Handle the events */
|
/* Handle the events */
|
||||||
if ( hr != DI_OK )
|
if ( hr != DI_OK )
|
||||||
|
|||||||
Reference in New Issue
Block a user