MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

gamez fan
Reged: 02/23/13
Posts: 213
Send PM
Cool Pool Missing Inputs for Button 2
07/06/14 01:44 AM


Hi

Cool Pool is missing a 2nd button input in currant MAME there is only one button for both players


Quote:



734 static INPUT_PORTS_START( coolpool )
735 PORT_START("IN0")
736 PORT_BIT( 0x00ff, IP_ACTIVE_HIGH, IPT_UNKNOWN )
737 PORT_BIT( 0x0f00, IP_ACTIVE_LOW, IPT_UNKNOWN )
738 PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2)
739 PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1)
740 PORT_BIT( 0xc000, IP_ACTIVE_LOW, IPT_UNKNOWN )





The missing 2nd button input is for "English" when pressed in game you can choose to add spin screw or side
to the cueball before playing a shot which is a must have feature in a pool game .
From studying how the other inputs in the driver were setup i took a best guess at how to add the 2nd button input to cool pool and i lucked out and now the game has full controls

For the record here's how to add the missing input button 2


Quote:



static INPUT_PORTS_START( coolpool )
PORT_START_TAG("IN0")
PORT_BIT( 0x00ff, IP_ACTIVE_HIGH, IPT_UNKNOWN )
PORT_BIT( 0x0f00, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x800, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2)
PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2)
PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1)
PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1)
PORT_BIT( 0xc000, IP_ACTIVE_LOW, IPT_UNKNOWN )






Arcade Addict







Entire thread
Subject Posted by Posted on
* Cool Pool Missing Inputs for Button 2 gamez fan 07/06/14 01:44 AM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 312 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1003