Cannot get Player 2 Joystick to work
-
Hi, I am trying to get my Player 2 joystick to work, but I cannot.
It functions, (I can scroll up and down in retropie using joystick 2, but not able to use in games)
I am using RetroPie version 4.7.1
I am using an IPAC2 configured for 2 joysticks.
I have set up retroarch.cfg with what I think are the necessary values.I do not use any gamepads at all. Just the 2 joysticks on the arcade.
In order to have the game set for 2 players, I have to press "coin1" twice, then press "coin2" once. This will set the game screen for two players OK, but I have to take turns using Player 1 joystick. I can live with this for most games, but when I play a game against each other,, this is not acceptable, as each player needs their own joystick.Trying to copy my config file, but can't seem to do so here.
Most articles discuss gamepads, but not simply joysticks.Can anyone tell me what I'm missing, or what else I need to provide you?
Thanks,
Mike -
Hello and a belated welcome to this forum.
I have set up retroarch.cfg with what I think are the necessary values.
Care to share those "necessary values"?
Did you read https://retropie.org.uk/docs/Keyboard-Controllers/#configuration-example-ipac ?
Which games are you trying to play? Which system? Which emulator?
Please run one of the games with verbose logging and show us the content of
/dev/shm/runcommand.log
in a code block or as a link to pastebin.com. -
input_player1_start = "1"
input_player1_select = "5"
input_player1_a = "ctrl"
input_player1_b = "alt"
input_player1_l = "space"
input_player1_x = "shift"
input_player1_y = "z"
input_player1_r = "x"
input_player1_l2 = "c"
input_player1_up = "up"
input_player2_start = "2"
input_player2_select = "6"
input_player2_l = "q"
input_player2_a = "w"
input_player2_b = "k"
input_player2_r = "i"
input_player2_x = "s"
input_player2_y = "a"
input_player2_up = "r"
input_player2_left = "d"
input_player2_right = "g"
input_player2_down = "f"
input_player2_l2 = "NUL"
input_player2_r2 = "NUL"input_player2_l3 =
input_player2_r3 =
#hotkeys
input_enable_hotkey = "y"
input_exit_emulator = ""
input_save_state = ""
input_load_state = ""
input_state_slot_increase = "right"
input_state_slot_decrease = "left"
input_menu_toggle = "nul"
input_reset = "nul"These are the lines I've modified. I intend of making new files for the following platforms, nes, snes, gamegear, gba, fba and street fighter -- I will try and run a game using "verbose" run command.....and post the result
-
I posted my full config on pastebin.com my username is mikebrin
https://pastebin.com/dxGjMsTb -
@mikebrin said in Cannot get Player 2 Joystick to work:
I will try and run a game using "verbose" run command.....and post the result
Do so, and please answer my other questions, too.
-
@clyde
Hi,
The emulators /platforms I am most interested in is "arcade", "nes", "snes"I'm not clear on how to run the verbose command. I found a post that says to edit /opt/retropie/configs/all/runcommand.cfg and add the line -verbose=1
I did that and saved the file.
I also copied the log file after running "Donkey Kong", which is under "Arcade"
This game is one that does not let me use the Player 2 joystick and controls. I have to share Player 1 controls for both players.
I also copied my retropie.cfg to the cfg file under the "arcade" folder, but no luck.I also went into retropie config and the menu states"Launch Menu(currently Enabled)"
Yet when I tried to enter a key, the launch menu does not appear.By the way, is that a key or "a" key that is supposed to let you configure?
Thanks, Clyde below is my runcommand.log file
/opt/retropie/configs/all/runcommand-onstart.sh: line 4: /home/pi/.attract/scripts/amlastplayed.sh: No such file or directory Parameters: Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2016/mamearcade2016_libretro.so --config /opt/retropie/configs/arcade/retroarch.cfg "/home/pi/RetroPie/roms/arcade/dkong.zip" --appendconfig /dev/shm/retroarch.cfg SOURCE FILE: ../../../../../src/mame/drivers/dkong.cpp PARENT: 0 NAME: dkong DESCRIPTION: Donkey Kong (US set 1) YEAR: 1981 MANUFACTURER: Nintendo of America Value not supported for option netdevprovider - falling back to auto MAIN FIRST w:224 h:256 a:0.750000 RETRO DEINIT retro_finish begin Average speed: 99.24% (125 seconds) retro exit machine retro_finish end
-
@mikebrin
it explains how to run in verbose mode via the link @Clyde provided:@clyde said in Cannot get Player 2 Joystick to work:
Please run one of the games with verbose logging
but if you can't get into the runcommand menu, it's a moot point i guess.
now, as for your issue - donkey kong's 2 player mode uses one stick - the real cabinet only had one (and why not, since, the 2 player mode isn't simultaneous). you take turns on one stick.
it's possible that there's a cocktail/2p mode you can select via the service menu or dipswitches, or you could map the player 2 controls as alternatives for player 2 via the MAME menu for this game only, or something like that.
note, these instructions are for mame2003 (which is recommended), not the mame2016 which you're using (which is not recommended).
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.