ps3 controller problems in mame

This topic contains 0 replies, has 1 voice, and was last updated by  tochumascao 3 years, 3 months ago.

Viewing 1 post (of 1 total)
  • Author
  • #81766


    Hi! need help, I am trying to configure my controls to mame ps3 by usb in RetroPie v2.3, me in the other emulators work fine, but do not get mame to work. follow the instructions below:

    “sudo nano /opt/retropie/emulators/mame4all-pi/src/rpi/minimal.cpp

    Comment out lines 168 to 174 so that the code appears as

    // if (SDL_JoystickNumAxes(myjoy) > 6)
    // {
    // SDL_JoystickClose(myjoy);
    // myjoy=0;
    // logerror(“Error detected invalid joystick/keyboard\n”);
    // break;
    // }
    If you are having difficulty editing the file, then you can find an amended copy at this post at the Retropie forum to overwrite your existing copy.

    Save and exit.

    Recompile by going to the mame4all directory

    cd /opt/retropie/emulators/mame4all-pi/

    and running the following command.


    but I get the following error when compiling:

    src/rpi/minimal.cpp:130:19: warning: ‘context’ defined but not used [-Wunused-variable]
    src/rpi/minimal.cpp:131:30: warning: ‘nativewindow’ defined but not used [-Wunused-variable]
    Makefile:75: recipe for target 'obj_mame_rpi/rpi/minimal.o' failed
    make: *** [obj_mame_rpi/rpi/minimal.o] Error 1
    pi@raspberrypi /opt/retropie/emulators/mame4all-pi $

    any idea how to fix it?

Viewing 1 post (of 1 total)

Forums are currently read only - please visit the new RetroPie forums at

PLEASE NOTE: All orders that are placed between January 14th and January 28th will be shipped on January 29th. Dismiss