Build Your Own Arcade Controls Forum

Software Support => GroovyMAME => Topic started by: samguili on March 18, 2015, 01:55:30 pm

Title: Configure joystick & buttons in groovymame [SOLVED] somehow...
Post by: samguili on March 18, 2015, 01:55:30 pm
Hello,
I use a usb encoder (xin-mo) for my joysticks and buttons, and i just cant make it work in mame.
I did what was suggested in this thread : http://forum.arcadecontrols.com/index.php/topic,139191.msg1439546.html#msg1439546 (http://forum.arcadecontrols.com/index.php/topic,139191.msg1439546.html#msg1439546) :

Code: [Select]
systemctl stop wiimote
systemctl status wiimote
systemctl disable wiimote

After assigning events in advmenu.rc, the joystick and buttons are working fine in the frontend (meaning that the events 1joy_up and all are ok). I can scroll up & down and select a game without problem. As soon as i'm in the game, nothing is working again.

I also edited the
Code: [Select]
/home/arcade/ume.ini and
Code: [Select]
/home/arcade/mame.ini in section CORE INPUT OPTIONS, i changed
Code: [Select]
joystick  0 to
Code: [Select]
joystick  1 with no luck. I tried to change the controls in game but nothing happen when i move the joystick or push a button.
I assume i have to assign events somewhere in mame config file but i dont know where to look (it doesn't seem to be in ume.ini)
Any help will be greatly appreciated as i have been struggling with that...even if it seems to be a simple matter... (noob inside)
thanks a lot !
Title: Re: Configure joystick & buttons in groovymame
Post by: samguili on March 19, 2015, 03:34:39 pm
I could finally make my joystick and buttons work. It's not a very clean solution but it's working. In case people facing the same issue stroll around this post, here is what i did :
1) plug my usb encoder to my xubuntu (14.10) machine
2) install rejoystick
3) map the joystick axis and button to keyboard input
4) copy the the .rejoystickrc file stored in /home/myself, paste it and overwrite the one in /home/arcade on the target machine running GA (i couldnt use it in lxde on GA, no way to click on OK to save the mapping due to the low modeline)
5) edit the file .xinitrc with
Code: [Select]
rejoystick -d to start rejoystick daemon when booting
6) plug back the usb encoder

I believe that this is a dirty workaround to accomplish something that should work by editing ume.ini file, like it seems to for others...So, if someone could enlight me by sharing a better solution, i will be grateful.
Anyway, hope that helps !
Title: Re: Configure joystick & buttons in groovymame [SOLVED] somehow...
Post by: Calamity on March 24, 2015, 08:40:34 am
Hi samguili,

Did you, by any chance, tried with the latest binaries (https://drive.google.com/drive/#folders/0B0NB2HYUHHktSUJiRDRKWWFCV1k/0B5iMjDor3P__aEFpcVNkVW5jbEE/0B5iMjDor3P__fjNkU2MwMUNaSEY4V2NGLWQwN2dYVHh2Zy03am5GSTlsVGJMWkNIbWZMQXM), the ones labelled as "no xinput". It will probably have no relation but it could be a good idea to test.
Title: Re: Configure joystick & buttons in groovymame [SOLVED] somehow...
Post by: samguili on March 24, 2015, 01:07:58 pm
Hi, actually it did not change anything regarding the joystick but it did help on something else : the games were quite slow (particulary sf2) and now they run at the right speed (as far as i can tell).
Thanks for the tip Calamity !