Configuración joystick MARS GAMING

Soporte General para RetroPie
Avatar de Usuario
MuadDib69
Pi Master
Pi Master
Mensajes: 276
Registrado: 16 Dic 2019, 18:22
Agradecido: 60 veces
Agradecimiento recibido: 13 veces

Hola a todos,
Después de pelear con la config de este joystick que todavía no tengo al 100%, comparto con vosotros lo conseguido por si a alguien le es de utilidad.
Todas las pruebas las he hecho con el paquete de ngutierres portable para win (al que agradezco el esfuerzo) que podéis encontrar aquí > viewtopic.php?f=66&t=13172
Tras borrar el es_input.cfg y arrancar el emulationstation siempre detectaba el joystick como gamepad y asignaba los valores a "hat 0" "hat 1" y así sucesivamente... resultado: el joystick funcionaba en el menú, pero no en el juego.
Al final y tras googlear en varios sitios, edité el fichero a manopla quedando así:

Código: Seleccionar todo

<?xml version="1.0"?>
<inputList>
<inputConfig type="joystick" deviceName="MARS GAMING-MRA" deviceGUID="030000008f0e00000300000000000000">
	<input name="a" type="button" id="4" value="1" />
	<input name="y" type="button" id="6" value="1" />
        <input name="down" type="axis" id="1" value="1"/>
        <input name="hotkeyenable" type="button" id="10" value="1" />
        <input name="left" type="axis" id="0" value="-1"/>
        <input name="leftshoulder" type="button" id="0" value="1" />
	<input name="leftthumb" type="button" id="8" value="1" />
	<input name="right" type="axis" id="0" value="1"/>
    	<input name="rightshoulder" type="button" id="5" value="1" />
	<input name="rightthumb" type="button" id="7" value="1" />
	<input name="select" type="button" id="8" value="1" />
	<input name="start" type="button" id="9" value="1" />
	<input name="up" type="axis" id="1" value="-1"/>
        <input name="x" type="button" id="3" value="1" />
	<input name="b" type="button" id="2" value="1" />
</inputConfig>
<inputConfig type="keyboard" deviceName="Keyboard" deviceGUID="-1">
	<input name="a" type="key" id="13" value="1" />
	<input name="b" type="key" id="27" value="1" />
	<input name="down" type="key" id="1073741905" value="1" />
	<input name="hotkeyenable" type="key" id="1073742053" value="1" />
	<input name="left" type="key" id="1073741904" value="1" />
	<input name="right" type="key" id="1073741903" value="1" />
	<input name="select" type="key" id="1073742053" value="1" />
	<input name="start" type="key" id="1073741882" value="1" />
	<input name="up" type="key" id="1073741906" value="1" />
	<input name="x" type="key" id="120" value="1" />
	<input name="y" type="key" id="121" value="1" />
</inputConfig>
</inputList>
PD: la parte de config del teclado la he cogido del fichero que viene en el paquete de ngutierres

El joystick funciona, pero me falta pulir la asignación de botones porque te asigna el disparo primario al segundo botón izq de la fila inferior y el disparo y todavía no sé como cambiarlos a otros.

NOTA VIP: si durante el juego presiono el botón HOME del josytick, pierdo el control del joystick (funcionan los botones, pero no el "palo").

Saludos
Responder