diff --git a/Source/DisplayClusterInput/Private/DisplayClusterInputDevice.cpp b/Source/DisplayClusterInput/Private/DisplayClusterInputDevice.cpp index 75c860eadde2b394ce70ea23c550cde3dd5b6875..8d1a3dba6f378ec5516079fff831b389eb27b2bb 100644 --- a/Source/DisplayClusterInput/Private/DisplayClusterInputDevice.cpp +++ b/Source/DisplayClusterInput/Private/DisplayClusterInputDevice.cpp @@ -71,8 +71,8 @@ void FDisplayClusterInputDevice::SendControllerEvents() for (auto j = 0; j < AxisIndices.Num(); ++j) { float Value = 0.0f; - InputManager->GetAxis(AxisDeviceIds[i], j, Value); - if (Value != 0.0f) MessageHandler->OnControllerAnalog(AxisIndices[j]->GetFName(), i, Value); + InputManager ->GetAxis (AxisDeviceIds[i] , j, Value); + MessageHandler->OnControllerAnalog(AxisIndices [j]->GetFName(), i, Value); } }