Pagina 1 di 1

come ottenere 4 vie software usando Controller Config file

Inviato: 11/11/2010, 20:35
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...

Re: come ottenere 4 vie software usando Controller Config file

Inviato: 11/11/2010, 20:37
da pucci
qualcuno è in grado di creare degli appositi config usando queste informazioni? e magari testarne il corretto funzionamento...

Re: come ottenere 4 vie software usando Controller Config file

Inviato: 12/11/2010, 10:48
da Kernel
Il link non funziona, non è completo.

La cosa parrebbe interessante per pacman e "soci", da provare!

Re: come ottenere 4 vie software usando Controller Config file

Inviato: 12/11/2010, 14:28
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 :(

Re: come ottenere 4 vie software usando Controller Config file

Inviato: 12/11/2010, 14:29
da pucci
Kernel ha scritto:
Il link non funziona, non è completo.

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