Added controller cursor in menu

This commit is contained in:
jancoow
2016-06-21 22:12:08 +02:00
parent 0431e9c230
commit e7163fc07c
10 changed files with 202 additions and 30 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ void ControllerHandler::commandControllerData(std::vector<std::string> data) {
c->joystick.x = std::stoi(data[2])/2000.0f;
c->joystick.y = std::stoi(data[3])/2000.0f;
c->joystickButton = !(data[4] == "0");
c->button = !(data[8] == "0");
c->magnetSwitch = !(data[9] == "0");
}
}