Created
November 15, 2015 15:24
-
-
Save rb6502/f9f8f0cc532c1babf79d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static INPUT_PORTS_START( downhill ) | |
PORT_START("P1") | |
PORT_BIT( 0xfff, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
PORT_START("P2") | |
PORT_BIT( 0xfff, IP_ACTIVE_LOW, IPT_UNKNOWN ) // 0x100 = freeze? | |
PORT_START("IN01") | |
PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_BUTTON3) // brake left | |
PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_START1) // start | |
PORT_BIT(0x100, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_TOGGLE | |
PORT_BIT(0x200, IP_ACTIVE_LOW, IPT_JOYSTICK_UP) // select up | |
PORT_BIT(0x400, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN) // select down | |
PORT_BIT(0x800, IP_ACTIVE_LOW, IPT_BUTTON1) // enter | |
PORT_BIT(0xf00c, IP_ACTIVE_LOW, IPT_UNKNOWN) | |
PORT_START("IN23") | |
PORT_BIT(0x400, IP_ACTIVE_LOW, IPT_BUTTON4) // brake right | |
PORT_BIT(0xfbff, IP_ACTIVE_LOW, IPT_UNKNOWN) | |
PORT_START("SERVICE") | |
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) | |
PORT_START("DSW") | |
PORT_SERVICE( 0x01, IP_ACTIVE_LOW ) | |
PORT_DIPNAME( 0x02, 0x02, "Skip POST" ) | |
PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) | |
PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
PORT_DIPNAME( 0x04, 0x04, "Freeze?" ) | |
PORT_DIPSETTING( 0x04, DEF_STR( Off ) ) | |
PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) ) | |
PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) | |
PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) ) | |
PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) | |
PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) ) | |
PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) | |
PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) ) | |
PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) | |
PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) ) | |
PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) | |
PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
INPUT_PORTS_END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment