mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
- Changed "Gear Shift" to LOW by default for contcirc, chasehq, sci
and topspeed [MASH] (note: only for games where IP_ACTIVE meant low, otherwise it means the game boots with button held down. Other games that were in this patch submit have been excluded)
This commit is contained in:
parent
a98cdcc857
commit
cfd5e28d3c
@ -2071,7 +2071,7 @@ static INPUT_PORTS_START( contcirc )
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_TILT )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )
|
||||
PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_NAME("Shifter") PORT_TOGGLE
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Shifter") PORT_TOGGLE
|
||||
PORT_BIT( 0xe0, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, taitoz_state, taitoz_pedal_r, "BRAKE") PORT_CONDITION("DSWA", 0x01, EQUALS, 0x01)
|
||||
PORT_BIT( 0xe0, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Brake Switch") PORT_CONDITION("DSWA", 0x01, EQUALS, 0x00) // no function?
|
||||
|
||||
@ -2143,7 +2143,7 @@ static INPUT_PORTS_START( chasehq ) // IN3-6 perhaps used with cockpit setup? //
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_TILT )
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_NAME("Calibrate") // ?
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )
|
||||
PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_NAME("Shifter") PORT_TOGGLE
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Shifter") PORT_TOGGLE
|
||||
PORT_BIT( 0xe0, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, taitoz_state, taitoz_pedal_r, "GAS") PORT_CONDITION("DSWA", 0x02, EQUALS, 0x00)
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Gas Switch") PORT_CONDITION("DSWA", 0x02, EQUALS, 0x02)
|
||||
|
||||
@ -2429,7 +2429,7 @@ static INPUT_PORTS_START( sci )
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_TILT )
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_NAME("Center")
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )
|
||||
PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_NAME("Shifter") PORT_TOGGLE
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Shifter") PORT_TOGGLE
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Gas Switch")
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||
|
@ -586,7 +586,7 @@ static INPUT_PORTS_START( topspeed )
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_TILT )
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_NAME("Calibrate") // ?
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )
|
||||
PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_NAME("Shifter") PORT_TOGGLE
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Shifter") PORT_TOGGLE
|
||||
PORT_BIT( 0xe0, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, topspeed_state, topspeed_pedal_r, "GAS") PORT_CONDITION("DSWA", 0x03, NOTEQUALS, 0x02)
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Gas Switch") PORT_CONDITION("DSWA", 0x03, EQUALS, 0x02)
|
||||
|
||||
|
@ -21,28 +21,28 @@
|
||||
<bounds left="14" right="18" top="47" bottom="51" />
|
||||
<color red="0.44" green="0.47" blue="0.5" />
|
||||
</disk>
|
||||
<text string="LOW" state="1">
|
||||
<text string="LOW" state="0">
|
||||
<bounds left="3" right="29" top="2" bottom="12" />
|
||||
<color red="1.0" green="1.0" blue="0.4" />
|
||||
</text>
|
||||
<text string="LOW" state="0">
|
||||
<text string="LOW" state="1">
|
||||
<bounds left="3" right="29" top="2" bottom="12" />
|
||||
<color red="1.0" green="1.0" blue="1.0" />
|
||||
</text>
|
||||
|
||||
<text string="HIGH" state="1">
|
||||
<text string="HIGH" state="0">
|
||||
<bounds left="3" right="29" top="52" bottom="62" />
|
||||
<color red="1.0" green="1.0" blue="1.0" />
|
||||
</text>
|
||||
<text string="HIGH" state="0">
|
||||
<text string="HIGH" state="1">
|
||||
<bounds left="3" right="29" top="52" bottom="62" />
|
||||
<color red="1.0" green="1.0" blue="0.4" />
|
||||
</text>
|
||||
<disk state="1">
|
||||
<disk state="0">
|
||||
<bounds left="9" right="23" top="14" bottom="28" />
|
||||
<color red="0.85" green="0.4" blue="0.3" />
|
||||
</disk>
|
||||
<disk state="0">
|
||||
<disk state="1">
|
||||
<bounds left="9" right="23" top="36" bottom="50" />
|
||||
<color red="0.85" green="0.4" blue="0.3" />
|
||||
</disk>
|
||||
|
@ -21,28 +21,28 @@
|
||||
<bounds left="14" right="18" top="47" bottom="51" />
|
||||
<color red="0.44" green="0.47" blue="0.5" />
|
||||
</disk>
|
||||
<text string="LOW" state="1">
|
||||
<text string="LOW" state="0">
|
||||
<bounds left="3" right="29" top="2" bottom="12" />
|
||||
<color red="1.0" green="1.0" blue="0.4" />
|
||||
</text>
|
||||
<text string="LOW" state="0">
|
||||
<text string="LOW" state="1">
|
||||
<bounds left="3" right="29" top="2" bottom="12" />
|
||||
<color red="1.0" green="1.0" blue="1.0" />
|
||||
</text>
|
||||
|
||||
<text string="HIGH" state="1">
|
||||
<text string="HIGH" state="0">
|
||||
<bounds left="3" right="29" top="52" bottom="62" />
|
||||
<color red="1.0" green="1.0" blue="1.0" />
|
||||
</text>
|
||||
<text string="HIGH" state="0">
|
||||
<text string="HIGH" state="1">
|
||||
<bounds left="3" right="29" top="52" bottom="62" />
|
||||
<color red="1.0" green="1.0" blue="0.4" />
|
||||
</text>
|
||||
<disk state="1">
|
||||
<disk state="0">
|
||||
<bounds left="9" right="23" top="14" bottom="28" />
|
||||
<color red="0.85" green="0.4" blue="0.3" />
|
||||
</disk>
|
||||
<disk state="0">
|
||||
<disk state="1">
|
||||
<bounds left="9" right="23" top="36" bottom="50" />
|
||||
<color red="0.85" green="0.4" blue="0.3" />
|
||||
</disk>
|
||||
|
Loading…
Reference in New Issue
Block a user