Fix for Issue #214

Changed two SI_DPOV references to read as SI_DPOV2
This commit is contained in:
DavidWyand-GG 2013-01-22 15:23:52 -05:00
parent 48c64db840
commit 35082e92eb

View file

@ -992,7 +992,7 @@ bool DInputDevice::buildEvent( DWORD offset, S32 newData, S32 oldData )
} }
if( clearkeys & POV_down) if( clearkeys & POV_down)
{ {
newEvent.objInst = ( objInst == 0 ) ? SI_DPOV : SI_DPOV; newEvent.objInst = ( objInst == 0 ) ? SI_DPOV : SI_DPOV2;
_Win32LogPOVInput(newEvent); _Win32LogPOVInput(newEvent);
newEvent.postToSignal(Input::smInputEvent); newEvent.postToSignal(Input::smInputEvent);
} }
@ -1023,7 +1023,7 @@ bool DInputDevice::buildEvent( DWORD offset, S32 newData, S32 oldData )
} }
if( setkeys & POV_down) if( setkeys & POV_down)
{ {
newEvent.objInst = ( objInst == 0 ) ? SI_DPOV : SI_DPOV; newEvent.objInst = ( objInst == 0 ) ? SI_DPOV : SI_DPOV2;
_Win32LogPOVInput(newEvent); _Win32LogPOVInput(newEvent);
newEvent.postToSignal(Input::smInputEvent); newEvent.postToSignal(Input::smInputEvent);
} }