mirror of
https://github.com/modelec/GameController.git
synced 2026-01-18 16:47:32 +01:00
update message
This commit is contained in:
@@ -63,10 +63,10 @@ void GameControllerHandler::handleMessage(const std::string &message) {
|
||||
this->sendMessage("gc;all;game mode;gc\n");
|
||||
}
|
||||
|
||||
if (tokens[2] == "start proximity") {
|
||||
if (tokens[2] == "start proximity alert") {
|
||||
this->rumble = true;
|
||||
}
|
||||
else if (tokens[2] == "stop proximity") {
|
||||
else if (tokens[2] == "stop proximity alert") {
|
||||
this->rumble = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user