diff --git a/TCPServer.cpp b/TCPServer.cpp index e883b43..ea65759 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -163,7 +163,7 @@ void TCPServer::handleMessage(const std::string& message, int clientSocket) if (tokens[2] == "axis") { std::vector args = TCPUtils::split(tokens[3], ","); double value = std::stod(args[1]); - if (value > -1200 && value < 1200) { + if (value > -500 && value < 500) { value = 0; } if (args[0] == "0") {