mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
Merge pull request #215 from DavidWyand-GG/issue214-JoystickPOV2
Fix for Issue #214
This commit is contained in:
commit
c2ae9de472
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue