Configuring 2 usb controllers with advmame
  • I have one very basic usb controller I want to use for game play in pacman and another that has more buttons and such that I want to use also, as the insert coin and player 1/2 start. Is it possible to configure it to use both controllers at the same time? So far what I tried does not work.

    Do I alter the /home/pi/.advance/advmame.rc file directly or the arcade.json file in controller-setup?

    I would settle for the simple joystick doing the gameplay and keyboard for insert coin, player 1 player 2 but that does not work either.

    Thanks in advance!
  • ok, so you need to edit /home/pi/.advance/advmame.rc

    it's going to be the stuff near the bottom of the file. you can set them up like this:
    input_map[p1_left] joystick_digital[0,stick,x,left]
    input_map[p1_right] joystick_digital[0,stick,x,right]
    input_map[p1_coin1] keyboard[0,lshift]


    you can check the documentation here
  • Thanks! That was the info I needed. The controller-setup program that comes with my piplay doesn't work with two joysticks, so I have to make these tweaks manually to advmame.rc
  • cool, no problem.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!