Is it possible to change the buttons in 0.8 pimame menu?
  • Hi everybody,
    Perhaps is a stupid question, but now I'm trying to change the button 2 (exit) to do nothing (I´m using Xin Mo). It´s because I wanna use a new "emulator" in the menu (really is the command "shutdown" to do a power off safe).
    Where can I change this feature? Perhaps in menu.py?
  • The solution:
    In the file mainscene.py (/home/pi/pimame/pimame-menu/pmmenu)
    Change next:
    Line 178
    if event.button == xx:

    where xx is the number of button that you want change (I put 20, because I dont have 20 buttons) ;-)

    I hope this help people
  • I will add something like this to the config file.
  • Thanks ;-) By the way.. your work is great! I'm your fan ;-)
  • Can I add another stupid question? When you are talking about "buttons" in the 0.8 pimame menu, are you talking about the emulator "squares"? If so, can you elaborate on how you added a "shutdown" button?
  • I think he means hardware/joystick buttons, a hardware button that shutdowns upon press for example.

Howdy, Stranger!

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