$page_name = "8-WAY JOYSTICK MODIFICATION TO MAME";
include "include_header.php";
?>
This change only affects the 720º driver in Mame. It allows the player to
control the game with an 8-way joystick in the same way that the Commodore 64
and Nintendo versions worked. When you point the joystick in a direction, the
skateboarder will immediately point in that direction. When I play this way, I
am always holding the joystick in a direction so that it works very similarly
to the way it worked in the arcade using the circular spinner joystick.
See the bottom of this page for source code and binary executables.
Please email me with any questions, problems, or requests at:
(Spinner values for each position) |
PORT_START /* LETA0/1 */ PORT_ANALOG( 0xffff, 0x0000, IPT_DIAL | IPF_PLAYER1, 30, 10, 0, 0 ) |
PORT_START /* LETA0/1 */ PORT_BIT( 0, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY ) PORT_BITX( 16, IP_ACTIVE_LOW, IPT_BUTTON3, "P1 Up/Right", IP_KEY_DEFAULT, IP_JOY_DEFAULT) PORT_BIT( 34, IP_ACTIVE_LOW, IPT_JOYSTICK_UP | IPF_4WAY ) PORT_BITX( 50, IP_ACTIVE_LOW, IPT_BUTTON4, "P1 Up/Left" , IP_KEY_DEFAULT, IP_JOY_DEFAULT) PORT_BIT( 68, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_4WAY ) PORT_BITX( 88, IP_ACTIVE_LOW, IPT_BUTTON5, "P1 Left/Down" , IP_KEY_DEFAULT, IP_JOY_DEFAULT) PORT_BIT( 106, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN | IPF_4WAY ) PORT_BITX( 122, IP_ACTIVE_LOW, IPT_BUTTON6, "P1 Down/Right" , IP_KEY_DEFAULT, IP_JOY_DEFAULT) |