When i use ole src's this is what happens :)

This commit is contained in:
arcadez2003 2024-08-17 14:00:01 +01:00 committed by GitHub
parent eb5d8b6d91
commit 081f2fc388
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -498,7 +498,7 @@ MEMORY_END
INPUT_PORTS_START( polepos )
PORT_START
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BITX(0x02, IP_ACTIVE_LOW, IPT_BUTTON1 | POLEPOS_TOGGLE, "Gear Change", KEYCODE_SPACE, IP_JOY_DEFAULT ) /* Gear */
PORT_BITX(0x02, IP_ACTIVE_LOW, IPT_BUTTON1 | POLEPOS_TOGGLE, "Gear Change", IP_KEY_DEFAULT, IP_JOY_DEFAULT ) /* Gear */
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SPECIAL ) /* start 1, program controlled */
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN1 )
@ -557,10 +557,10 @@ INPUT_PORTS_START( polepos )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_START /* IN1 - Brake */
PORT_ANALOGX( 0xff, 0x00, IPT_PEDAL2, 100, 16, 0, 0x90, KEYCODE_LALT, IP_JOY_DEFAULT, IP_KEY_DEFAULT, IP_JOY_DEFAULT )
PORT_ANALOGX( 0xff, 0x00, IPT_PEDAL2, 100, 16, 0, 0x90, IP_KEY_DEFAULT, IP_KEY_DEFAULT, IP_JOY_DEFAULT, IP_JOY_DEFAULT )
PORT_START /* IN2 - Accel */
PORT_ANALOGX( 0xff, 0x00, IPT_PEDAL, 100, 16, 0, 0x90, KEYCODE_LCONTROL, IP_JOY_DEFAULT, IP_KEY_DEFAULT, IP_JOY_DEFAULT )
PORT_ANALOGX( 0xff, 0x00, IPT_PEDAL, 100, 16, 0, 0x90, IP_KEY_DEFAULT, IP_KEY_DEFAULT, IP_JOY_DEFAULT, IP_JOY_DEFAULT )
PORT_START /* IN3 - Steering */
PORT_ANALOG ( 0xff, 0x00, IPT_DIAL, 30, 4, 0, 0 )
@ -570,7 +570,7 @@ INPUT_PORTS_END
INPUT_PORTS_START( poleposa )
PORT_START
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BITX(0x02, IP_ACTIVE_LOW, IPT_BUTTON1 | POLEPOS_TOGGLE, "Gear Change", KEYCODE_SPACE, IP_JOY_DEFAULT ) /* Gear */
PORT_BITX(0x02, IP_ACTIVE_LOW, IPT_BUTTON1 | POLEPOS_TOGGLE, "Gear Change", IP_KEY_DEFAULT, IP_JOY_DEFAULT ) /* Gear */
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SPECIAL ) /* start 1, program controlled */
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN1 )
@ -629,10 +629,10 @@ INPUT_PORTS_START( poleposa )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_START /* IN1 - Brake */
PORT_ANALOGX( 0xff, 0x00, IPT_PEDAL2, 100, 16, 0, 0x90, KEYCODE_LALT, IP_JOY_DEFAULT, IP_KEY_DEFAULT, IP_JOY_DEFAULT )
PORT_ANALOGX( 0xff, 0x00, IPT_PEDAL2, 100, 16, 0, 0x90, IP_KEY_DEFAULT, IP_KEY_DEFAULT, IP_JOY_DEFAULT, IP_JOY_DEFAULT )
PORT_START /* IN2 - Accel */
PORT_ANALOGX( 0xff, 0x00, IPT_PEDAL, 100, 16, 0, 0x90, KEYCODE_LCONTROL, IP_JOY_DEFAULT, IP_KEY_DEFAULT, IP_JOY_DEFAULT )
PORT_ANALOGX( 0xff, 0x00, IPT_PEDAL, 100, 16, 0, 0x90, IP_KEY_DEFAULT, IP_KEY_DEFAULT, IP_JOY_DEFAULT, IP_JOY_DEFAULT )
PORT_START /* IN3 - Steering */
PORT_ANALOG ( 0xff, 0x00, IPT_DIAL, 30, 4, 0, 0 )
@ -642,7 +642,7 @@ INPUT_PORTS_END
INPUT_PORTS_START( polepos2 )
PORT_START
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BITX(0x02, IP_ACTIVE_LOW, IPT_BUTTON1 | POLEPOS_TOGGLE, "Gear Change", KEYCODE_SPACE, IP_JOY_DEFAULT ) /* Gear */
PORT_BITX(0x02, IP_ACTIVE_LOW, IPT_BUTTON1 | POLEPOS_TOGGLE, "Gear Change", IP_KEY_DEFAULT, IP_JOY_DEFAULT ) /* Gear */
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SPECIAL ) /* start 1, program controlled */
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN1 )
@ -699,10 +699,10 @@ INPUT_PORTS_START( polepos2 )
PORT_DIPSETTING( 0x00, "High" )
PORT_START /* IN1 - Brake */
PORT_ANALOGX( 0xff, 0x00, IPT_PEDAL2, 100, 16, 0, 0x90, KEYCODE_LALT, IP_JOY_DEFAULT, IP_KEY_DEFAULT, IP_JOY_DEFAULT )
PORT_ANALOGX( 0xff, 0x00, IPT_PEDAL2, 100, 16, 0, 0x90, IP_KEY_DEFAULT, IP_KEY_DEFAULT, IP_JOY_DEFAULT, IP_JOY_DEFAULT )
PORT_START /* IN2 - Accel */
PORT_ANALOGX( 0xff, 0x00, IPT_PEDAL, 100, 16, 0, 0x90, KEYCODE_LCONTROL, IP_JOY_DEFAULT, IP_KEY_DEFAULT, IP_JOY_DEFAULT )
PORT_ANALOGX( 0xff, 0x00, IPT_PEDAL, 100, 16, 0, 0x90, IP_KEY_DEFAULT, IP_KEY_DEFAULT, IP_JOY_DEFAULT, IP_JOY_DEFAULT )
PORT_START /* IN3 - Steering */
PORT_ANALOG ( 0xff, 0x00, IPT_DIAL, 30, 4, 0, 0 )