From 35082e92ebe69caf03c0abc9cdcc860f2658c57a Mon Sep 17 00:00:00 2001 From: DavidWyand-GG Date: Tue, 22 Jan 2013 15:23:52 -0500 Subject: [PATCH] Fix for Issue #214 Changed two SI_DPOV references to read as SI_DPOV2 --- Engine/source/platformWin32/winDInputDevice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Engine/source/platformWin32/winDInputDevice.cpp b/Engine/source/platformWin32/winDInputDevice.cpp index a8b6ffea5..759a34643 100644 --- a/Engine/source/platformWin32/winDInputDevice.cpp +++ b/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); }