This commit is contained in:
ackimixs
2024-05-15 20:16:53 +02:00
parent 54d2593352
commit 0a603a55cc

View File

@@ -163,7 +163,7 @@ void TCPServer::handleMessage(const std::string& message, int clientSocket)
if (tokens[2] == "axis") {
std::vector<std::string> args = TCPUtils::split(tokens[3], ",");
double value = std::stod(args[1]);
if (value > -600 && value < 600) {
if (value > -1200 && value < 1200) {
value = 0;
}
if (args[0] == "0") {