Ja es por canviar el jugador que maneja el teclat "en calent" desde el service menu
This commit is contained in:
@@ -319,13 +319,12 @@ void ServiceMenu::initializeOptions() {
|
||||
Lang::getText("[SERVICE_MENU] PLAYER1"),
|
||||
Lang::getText("[SERVICE_MENU] PLAYER2")},
|
||||
[]() {
|
||||
// Aquí deberías devolver el jugador actual asignado al teclado
|
||||
// Por ahora devuelvo "Jugador 1" como ejemplo
|
||||
return Lang::getText("[SERVICE_MENU] PLAYER1");
|
||||
// Devolver el jugador actual asignado al teclado
|
||||
return Options::playerIdToString(Options::getPlayerWhoUsesKeyboard());
|
||||
},
|
||||
[](const std::string &val) {
|
||||
// Aquí asignarías el teclado al jugador seleccionado
|
||||
// Implementación pendiente según tu sistema de input
|
||||
// Asignar el teclado al jugador seleccionado
|
||||
Options::keyboard.assignTo(Options::stringToPlayerId(val));
|
||||
}));
|
||||
|
||||
// CONTROLS - Acción para intercambiar mandos
|
||||
|
||||
Reference in New Issue
Block a user