Added controller cursor in menu
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user