diff options
author | smf- <smf-@users.noreply.github.com> | 2018-04-03 11:57:55 +0100 |
---|---|---|
committer | smf- <smf-@users.noreply.github.com> | 2018-04-03 11:58:48 +0100 |
commit | 5336bb02b665ad9d9b996146728196252107fd66 (patch) | |
tree | 6b2f6aecbb9221185fcaa5a47a945de268f61c54 /src/mame/drivers/tetrisp2.cpp | |
parent | 63026947dd4e1f581475a908469aa915f0b94746 (diff) |
Standardise on IPT_CUSTOM for hooking up custom code in PORT_BIT, leaving IPT_SPECIAL for the UI. [smf]
Diffstat (limited to 'src/mame/drivers/tetrisp2.cpp')
-rw-r--r-- | src/mame/drivers/tetrisp2.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/drivers/tetrisp2.cpp b/src/mame/drivers/tetrisp2.cpp index 0a66c1f456f..95ddca21fb9 100644 --- a/src/mame/drivers/tetrisp2.cpp +++ b/src/mame/drivers/tetrisp2.cpp @@ -782,8 +782,8 @@ static INPUT_PORTS_START( tetrisp2 ) PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_SERVICE1 ) PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_COIN2 ) - PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_SPECIAL ) /* ?*/ - PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_SPECIAL ) /* ?*/ + PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_CUSTOM ) /* ?*/ + PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_CUSTOM ) /* ?*/ PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_UNKNOWN ) @@ -966,7 +966,7 @@ static INPUT_PORTS_START( nndmseal ) PORT_START("PRINT") // be0006.w PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Print 1?") // Press both to print (and alternate with ok too). PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_START2 ) PORT_NAME("Print 2?") // Hold them for some seconds to bring up a "caution" message. - PORT_BIT( 0x0004, IP_ACTIVE_HIGH,IPT_SPECIAL ) // ? + PORT_BIT( 0x0004, IP_ACTIVE_HIGH,IPT_CUSTOM ) // ? PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_UNKNOWN ) @@ -1081,7 +1081,7 @@ INPUT_PORTS_END static INPUT_PORTS_START( rocknms ) PORT_START("PLAYERS") // IN0 - $be0002.w - PORT_BIT( 0x0003, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, tetrisp2_state,rocknms_main2sub_status_r, nullptr) // MAIN -> SUB Communication + PORT_BIT( 0x0003, IP_ACTIVE_HIGH, IPT_CUSTOM ) PORT_CUSTOM_MEMBER(DEVICE_SELF, tetrisp2_state,rocknms_main2sub_status_r, nullptr) // MAIN -> SUB Communication PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(1) PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(1) PORT_BIT( 0x0010, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_PLAYER(1) @@ -1200,8 +1200,8 @@ static INPUT_PORTS_START( stepstag ) PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_SERVICE1 ) // service coin PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_COIN1 ) // coin PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_SPECIAL ) // ? - PORT_BIT( 0x0200, IP_ACTIVE_HIGH, IPT_SPECIAL ) // ? + PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_CUSTOM ) // ? + PORT_BIT( 0x0200, IP_ACTIVE_HIGH, IPT_CUSTOM ) // ? PORT_BIT( 0x0400, IP_ACTIVE_HIGH, IPT_UNKNOWN ) PORT_BIT( 0x0800, IP_ACTIVE_HIGH, IPT_UNKNOWN ) PORT_BIT( 0x1000, IP_ACTIVE_HIGH, IPT_UNKNOWN ) @@ -1408,8 +1408,8 @@ static INPUT_PORTS_START( vjdash ) PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_SERVICE1 ) // service coin PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_COIN1 ) // coin PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_SPECIAL ) // ? - PORT_BIT( 0x0200, IP_ACTIVE_HIGH, IPT_SPECIAL ) // ? + PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_CUSTOM ) // ? + PORT_BIT( 0x0200, IP_ACTIVE_HIGH, IPT_CUSTOM ) // ? PORT_BIT( 0x0400, IP_ACTIVE_HIGH, IPT_UNKNOWN ) PORT_BIT( 0x0800, IP_ACTIVE_HIGH, IPT_UNKNOWN ) PORT_BIT( 0x1000, IP_ACTIVE_HIGH, IPT_UNKNOWN ) |