Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Configure joystick & buttons in groovymame [SOLVED] somehow...  (Read 4769 times)

0 Members and 1 Guest are viewing this topic.

samguili

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:February 07, 2019, 12:14:46 pm
  • I want to build my own arcade controls!
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 :

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 !
« Last Edit: March 19, 2015, 03:44:46 pm by samguili »

samguili

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:February 07, 2019, 12:14:46 pm
  • I want to build my own arcade controls!
Re: Configure joystick & buttons in groovymame
« Reply #1 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 !

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: Configure joystick & buttons in groovymame [SOLVED] somehow...
« Reply #2 on: March 24, 2015, 08:40:34 am »
Hi samguili,

Did you, by any chance, tried with the latest binaries, the ones labelled as "no xinput". It will probably have no relation but it could be a good idea to test.
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

samguili

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:February 07, 2019, 12:14:46 pm
  • I want to build my own arcade controls!
Re: Configure joystick & buttons in groovymame [SOLVED] somehow...
« Reply #3 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 !