mirror of
https://github.com/holub/mame
synced 2025-04-18 22:49:58 +03:00
Fixed MT07153 (SlikStick configuration for asteroid not working).
Since asteroid overrides the default input assignments, slikstik.cfg needs to use the syntax for overriding specific inputs. There was also a bug in how specific input overrides are applied.
This commit is contained in:
parent
5839fb7a52
commit
7d1ff26fb3
@ -176,19 +176,19 @@
|
||||
-->
|
||||
|
||||
<input>
|
||||
<port type="P1_JOYSTICK_LEFT">
|
||||
<port tag=":IN1" type="P1_BUTTON1" mask="128">
|
||||
<newseq type="standard">KEYCODE_LEFT OR JOYCODE_1_XAXIS_LEFT_SWITCH OR KEYCODE_0</newseq>
|
||||
</port>
|
||||
<port type="P1_JOYSTICK_RIGHT">
|
||||
<port tag=":IN1" type="P1_BUTTON2" mask="64">
|
||||
<newseq type="standard">KEYCODE_RIGHT OR JOYCODE_1_XAXIS_RIGHT_SWITCH OR KEYCODE_Z</newseq>
|
||||
</port>
|
||||
<port type="P1_BUTTON1">
|
||||
<port tag=":IN0" type="P1_BUTTON3" mask="16">
|
||||
<newseq type="standard">KEYCODE_H OR JOYCODE_1_BUTTON1 OR MOUSECODE_1_BUTTON1</newseq>
|
||||
</port>
|
||||
<port type="P1_BUTTON2">
|
||||
<port tag=":IN1" type="P1_BUTTON4" mask="32">
|
||||
<newseq type="standard">KEYCODE_7 OR JOYCODE_1_BUTTON2 OR KEYCODE_L</newseq>
|
||||
</port>
|
||||
<port type="P1_BUTTON3">
|
||||
<port tag=":IN0" type="P1_BUTTON5" mask="8">
|
||||
<newseq type="standard">KEYCODE_9 OR JOYCODE_1_BUTTON3 OR MOUSECODE_1_BUTTON2</newseq>
|
||||
</port>
|
||||
</input>
|
||||
|
@ -2313,7 +2313,10 @@ bool ioport_manager::load_controller_config(
|
||||
for (input_seq_type seqtype = SEQ_TYPE_STANDARD; seqtype < SEQ_TYPE_TOTAL; ++seqtype)
|
||||
{
|
||||
if (input_seq_good(machine(), newseq[seqtype].first))
|
||||
{
|
||||
field.live().seq[seqtype] = newseq[seqtype].first;
|
||||
field.set_defseq(seqtype, newseq[seqtype].first);
|
||||
}
|
||||
}
|
||||
|
||||
// fetch configurable attributes
|
||||
|
Loading…
Reference in New Issue
Block a user