Browse Source

Fix for Issue #214

Changed two SI_DPOV references to read as SI_DPOV2
DavidWyand-GG 12 years ago
parent
commit
35082e92eb
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Engine/source/platformWin32/winDInputDevice.cpp

+ 2 - 2
Engine/source/platformWin32/winDInputDevice.cpp

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