Menu

I want to change the joystick button that selects a game in the AdvMenu, how do you customize the joystick buttons for AdvMenu?

Henry
2018-11-21
2020-05-12
  • Henry

    Henry - 2018-11-21

    When in the AdvanceMENU, I can't use the joystick button to select the game.

    How do you customize the joystick buttons for AdvMenu?

    I think I have to change something in the advmenu.rc

    eventassign enter enter or enterpad or joybutton1 or mousebutton1

    For some reason none of the joystick buttons work in the menu, but pressing enter on the keyword works and lets me select the game.

     

    Last edit: Henry 2018-11-21
  • Andrea Mazzoleni

    Hi Henry,

    Yes. You have to use the "even_assign" option.

    For example, I have:

    event_assign enter enter or joy_a
    

    Try using the "advj" tool to check what are the button names available.

    Ciao,
    Andrea

     

    Last edit: Andrea Mazzoleni 2018-11-22
  • VINCENT E TERRONE

    Hello .. First I want to thank you for excelent project. I have been using advmenu and advmame for over 10 years.

    In my new cab I was running 3.4 of advmenu and had:

    event_assign enter enter or enter_pad

    which worked to launch games

    Now with 3.9 it does not work and I not been able to figure out how to map the buttons. I tried everything from doc and advj. Here is the output from advj:

    Driver event, joysticks 2
    joy 0 '16c0_05e1' 'Xin-Mo Xin-Mo Dual Arcade', controls 1, buttons 10, ball axes 0
    control 0 [stick], axes 2
    axe 0 [x]
    axe 1 [y]
    button 0 [trigger]
    button 1 [thumb]
    button 2 [thumb2]
    button 3 [top]
    button 4 [top2]
    button 5 [pinkie]
    button 6 [base]
    button 7 [base2]
    button 8 [base3]
    button 9 [base4]
    joy 1 '16c0_05e1_2' 'Xin-Mo Xin-Mo Dual Arcade', controls 1, buttons 12, ball axes 0
    control 0 [stick], axes 2
    axe 0 [x]
    axe 1 [y]
    button 0 [trigger]
    button 1 [thumb]
    button 2 [thumb2]
    button 3 [top]
    button 4 [top2]
    button 5 [pinkie]
    button 6 [base]
    button 7 [base2]
    button 8 [base3]
    button 9 [base4]
    button 10 [base5]
    button 11 [base6]

    Any thoughts how to map any of the buttons to enter key?

    Thanks again!

     
  • Roger

    Roger - 2019-09-12

    I have same problem like TO: Running WinXP w/ ADVMame 3.9 w/ 2 USB Joystickls.
    Joysticks are running smopothly in games, joystick directions are also working in ADVMenu but none of the button is working.
    I tried:

    device_joystick auto
    event_assign enter joy_a or joy_button1 or joy_button2
    

    though stated in advmenu.txt:

    You can also use ordinal values if the driver doesn't export the button names:
    joybutton0, joybutton1, joybutton2, joybutton3, ...

    line

    event_assign enter joy_button0
    

    produce an error while starting advmenu.exe. So there seems to be something wrong.
    I'd like to add: joystick is working hassle-free w/ AdvMenu 3.0 w/o changing any assingment line

     

    Last edit: Roger 2019-09-12
    • VINCENT E TERRONE

      You might want to try to AdvMenu 3.4 which seems to natively use the
      joystick without any mapping. On the flip side, you can not change it but
      working is better then not.

      On Thu, Sep 12, 2019 at 4:37 AM Roger xlink100@users.sourceforge.net
      wrote:

      I have same problem like TO: Running WinXP w/ ADVMame 3.9 w/ 2 USB
      Joystickls.
      Joysticks are running smopothly in games, joystick directions are also
      working in ADVMenu but none of the button is working.
      I tried:

      device_joystick autoevent_assign enter joy_a or joy_button1 or joy_button2

      though stated in advmenu.txt:

      You can also use ordinal values if the driver doesn't export the button names:
      joy_button0, joy_button1, joy_button2, joy_button3, ...

      line

      event_assign enter joy_button0

      produce an error while starting advmenu.exe. So there seems to be
      something wrong.
      I'd like to add: joystick is working hassle-free w/ AdvMenu 3.0


      I want to change the joystick button that selects a game in the AdvMenu,
      how do you customize the joystick buttons for AdvMenu?
      https://sourceforge.net/p/advancemame/discussion/313512/thread/ac0a1adc2e/?limit=25#d096


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/advancemame/discussion/313512/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       
  • Roger

    Roger - 2019-09-13

    I tested all versions, starting w/ 3.0.
    eventually AdvMenu 3.7 is the last one supporting joystick button automatically.
    I'm using now a combination of advmame 3.9 and advmenu 3.7

     
    • VINCENT E TERRONE

      Thank you for letting me know. I will try that combination. The other
      issue I have is the version of Raspberry Pi Jessie will not install or
      compile Advancemenu 3.9. Not sure if you are using this on Raspberry. I
      will be trying different combinations to see what is the highest that
      will.

      On Fri, Sep 13, 2019 at 5:44 AM Roger xlink100@users.sourceforge.net
      wrote:

      I tested all versions, starting w/ 3.0.
      eventually AdvMenu 3.7 is the last one supporting joystick button
      automatically.
      I'm using now a combination of advmame 3.9 and advmenu 3.7


      I want to change the joystick button that selects a game in the AdvMenu,
      how do you customize the joystick buttons for AdvMenu?
      https://sourceforge.net/p/advancemame/discussion/313512/thread/ac0a1adc2e/?limit=25#c910


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/advancemame/discussion/313512/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       
    • VINCENT E TERRONE

      I confirm that 3.7 works perfectly and no issues running under Raspberian
      Jessie.

      Next issue how to use spinner or trackball to move through the menu. Not
      been able to get it to move through games. Oddly enough I have very old
      arcade version using PS2 spinner under Linux on Intel that does work.

      Thanks again.

      On Fri, Sep 13, 2019, 5:44 AM Roger xlink100@users.sourceforge.net wrote:

      I tested all versions, starting w/ 3.0.
      eventually AdvMenu 3.7 is the last one supporting joystick button
      automatically.
      I'm using now a combination of advmame 3.9 and advmenu 3.7


      I want to change the joystick button that selects a game in the AdvMenu,
      how do you customize the joystick buttons for AdvMenu?
      https://sourceforge.net/p/advancemame/discussion/313512/thread/ac0a1adc2e/?limit=25#c910


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/advancemame/discussion/313512/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       
  • VINCENT E TERRONE

    For anyone that has been having issues mapping joystick buttons events in advmenu. I have confirmed this solution does work. Requires you to compile advmenu but you can change the buttons to anything you like.

    https://sourceforge.net/p/advancemame/discussion/313512/thread/85264b7f/

     

Log in to post a comment.