mirror of
https://github.com/holub/mame
synced 2025-04-25 17:56:43 +03:00
Merge pull request #6429 from MASHinfo/master
Added wheel control to Konami GT and Konami RF2
This commit is contained in:
commit
95d2ecf6f7
@ -314,7 +314,7 @@ READ16_MEMBER(nemesis_state::konamigt_input_word_r)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
int data = ioport("IN3")->read();
|
int data = ioport("IN3")->read();
|
||||||
int data2 = ioport("PADDLE")->read();
|
int data2 = ioport("WHEEL")->read();
|
||||||
|
|
||||||
int ret=0x0000;
|
int ret=0x0000;
|
||||||
|
|
||||||
@ -933,8 +933,8 @@ static INPUT_PORTS_START( konamigt )
|
|||||||
PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW3:3" )
|
PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW3:3" )
|
||||||
PORT_BIT( 0xfa, IP_ACTIVE_LOW, IPT_UNUSED )
|
PORT_BIT( 0xfa, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||||
|
|
||||||
PORT_START("PADDLE")
|
PORT_START("WHEEL") /* Wheel (360deg) */
|
||||||
PORT_BIT( 0x7f, 0x40, IPT_PADDLE ) PORT_SENSITIVITY(25) PORT_KEYDELTA(10)
|
PORT_BIT( 0xff, 0x00, IPT_DIAL ) PORT_SENSITIVITY(25) PORT_KEYDELTA(5)
|
||||||
INPUT_PORTS_END
|
INPUT_PORTS_END
|
||||||
|
|
||||||
|
|
||||||
@ -985,8 +985,8 @@ static INPUT_PORTS_START( rf2 )
|
|||||||
PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW3:3" )
|
PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW3:3" )
|
||||||
PORT_BIT( 0xfa, IP_ACTIVE_LOW, IPT_UNUSED )
|
PORT_BIT( 0xfa, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||||
|
|
||||||
PORT_START("PADDLE")
|
PORT_START("WHEEL") /* Wheel (360deg) */
|
||||||
PORT_BIT( 0x7f, 0x40, IPT_PADDLE ) PORT_SENSITIVITY(25) PORT_KEYDELTA(10)
|
PORT_BIT( 0xff, 0x00, IPT_DIAL ) PORT_SENSITIVITY(25) PORT_KEYDELTA(5)
|
||||||
INPUT_PORTS_END
|
INPUT_PORTS_END
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user