come ottenere 4 vie software usando Controller Config file

Guide, richieste e tutto ciò che c'è da sapere sui controlli del cab
Avatar utente
pucci
Moderatore
Moderatore
Messaggi: 4747
Iscritto il: 19/07/2005, 18:52
Città: San Clemente (RN)
Località: Rimini
Grazie Ricevuti: 62 volte

come ottenere 4 vie software usando Controller Config file

Messaggio da pucci »

in either the game's individual config or the general overall control config, define your up/down/left/right by also adding the NOT definition.

ultimately:
UP = UP NOT UP/LEFT NOT UP/RIGHT
DOWN = DOWN NOT DOWN/LEFT NOT DOWN/RIGHT

etc.
the end result, the game only accepts the "pure" four directions.
if you push diagonal, you get no response.
i forget, at the moment, what you need to press to get the NOT
during configuration mode. (which is pretty damn important, isn't it)

http://easyemu.mameworld.info/mameguide ... rolini.htm

explains the format and how to modify the file and where to put the NOT or ! to negate things. I'd set it up as close as possible first, then add the NOT clauses manually. That's probably the simplest way to do it.

CODE_NOT or ! = Stops a specific key combination being read e.g If you want to disable the Alt-Tab that opens a full screen use...
Avatar utente
pucci
Moderatore
Moderatore
Messaggi: 4747
Iscritto il: 19/07/2005, 18:52
Città: San Clemente (RN)
Località: Rimini
Grazie Ricevuti: 62 volte

Re: come ottenere 4 vie software usando Controller Config file

Messaggio da pucci »

qualcuno è in grado di creare degli appositi config usando queste informazioni? e magari testarne il corretto funzionamento...
Avatar utente
Kernel
God of Arcade
God of Arcade
Messaggi: 6794
Iscritto il: 25/07/2005, 10:54
Grazie Inviati: 2 volte
Grazie Ricevuti: 2 volte

Re: come ottenere 4 vie software usando Controller Config file

Messaggio da Kernel »

Il link non funziona, non è completo.

La cosa parrebbe interessante per pacman e "soci", da provare!
Avatar utente
pucci
Moderatore
Moderatore
Messaggi: 4747
Iscritto il: 19/07/2005, 18:52
Città: San Clemente (RN)
Località: Rimini
Grazie Ricevuti: 62 volte

Re: come ottenere 4 vie software usando Controller Config file

Messaggio da pucci »

ho provato con questo per Donkey Kong

Codice: Seleziona tutto

<mameconfig version="10">

	<system name="dkong">

		<input>
			
			<port type="P1_JOYSTICKRIGHT_UP">
				<newseq type="standard">KEYCODE_R CODE_NOT KEYCODE_R KEYCODE_D CODE_NOT KEYCODE_R KEYCODE_G</newseq>
			</port>
			<port type="P1_JOYSTICKRIGHT_DOWN">
				<newseq type="standard">KEYCODE_F CODE_NOT KEYCODE_F KEYCODE_D CODE_NOT KEYCODE_F KEYCODE_G</newseq>
			</port>
			<port type="P1_JOYSTICKRIGHT_LEFT">
				<newseq type="standard">KEYCODE_D CODE_NOT KEYCODE_D KEYCODE_R CODE_NOT KEYCODE_D KEYCODE_F</newseq>
			</port>
			<port type="P1_JOYSTICKRIGHT_RIGHT">
				<newseq type="standard">KEYCODE_G CODE_NOT KEYCODE_G KEYCODE_R CODE_NOT KEYCODE_G KEYCODE_F</newseq>
			</port>
			<port type="P1_JOYSTICKLEFT_UP">
				<newseq type="standard">KEYCODE_UP CODE_NOT KEYCODE_UP KEYCODE_LEFT CODE_NOT KEYCODE_UP KEYCODE_RIGHT</newseq>
			</port>
			<port type="P1_JOYSTICKLEFT_DOWN">
				<newseq type="standard">KEYCODE_DOWN CODE_NOT KEYCODE_DOWN KEYCODE_LEFT CODE_NOT KEYCODE_DOWN KEYCODE_RIGHT</newseq>
			</port>
			<port type="P1_JOYSTICKLEFT_LEFT">
				<newseq type="standard">KEYCODE_LEFT CODE_NOT KEYCODE_LEFT KEYCODE_UP CODE_NOT KEYCODE_LEFT KEYCODE_DOWN</newseq>
			</port>
			<port type="P1_JOYSTICKLEFT_RIGHT">
				<newseq type="standard">KEYCODE_RIGHT CODE_NOT KEYCODE_RIGHT KEYCODE_UP CODE_NOT KEYCODE_RIGHT KEYCODE_DOWN</newseq>
			</port>

		</input>

	</system>

</mameconfig>
ma non so se funzioni bene :(
Avatar utente
pucci
Moderatore
Moderatore
Messaggi: 4747
Iscritto il: 19/07/2005, 18:52
Città: San Clemente (RN)
Località: Rimini
Grazie Ricevuti: 62 volte

Re: come ottenere 4 vie software usando Controller Config file

Messaggio da pucci »

Kernel ha scritto:
Il link non funziona, non è completo.

La cosa parrebbe interessante per pacman e "soci", da provare!
ora è completo
Rispondi

Torna a “Controlli (joystick, pulsanti, trackball, spinner, volanti, ecc...)”