Merge pull request #6429 from MASHinfo/master

Added wheel control to Konami GT and Konami RF2
This commit is contained in:
R. Belmont 2020-03-13 12:11:21 -04:00 committed by GitHub
commit 95d2ecf6f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -314,7 +314,7 @@ READ16_MEMBER(nemesis_state::konamigt_input_word_r)
*/
int data = ioport("IN3")->read();
int data2 = ioport("PADDLE")->read();
int data2 = ioport("WHEEL")->read();
int ret=0x0000;
@ -933,8 +933,8 @@ static INPUT_PORTS_START( konamigt )
PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW3:3" )
PORT_BIT( 0xfa, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_START("PADDLE")
PORT_BIT( 0x7f, 0x40, IPT_PADDLE ) PORT_SENSITIVITY(25) PORT_KEYDELTA(10)
PORT_START("WHEEL") /* Wheel (360deg) */
PORT_BIT( 0xff, 0x00, IPT_DIAL ) PORT_SENSITIVITY(25) PORT_KEYDELTA(5)
INPUT_PORTS_END
@ -985,8 +985,8 @@ static INPUT_PORTS_START( rf2 )
PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW3:3" )
PORT_BIT( 0xfa, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_START("PADDLE")
PORT_BIT( 0x7f, 0x40, IPT_PADDLE ) PORT_SENSITIVITY(25) PORT_KEYDELTA(10)
PORT_START("WHEEL") /* Wheel (360deg) */
PORT_BIT( 0xff, 0x00, IPT_DIAL ) PORT_SENSITIVITY(25) PORT_KEYDELTA(5)
INPUT_PORTS_END