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: [SOLVED] - I need help to make my USB joystick encoder work  (Read 10396 times)

0 Members and 1 Guest are viewing this topic.

Whipon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19
  • Last login:May 18, 2015, 11:32:08 am
  • I want to build my own arcade controls!
Hello to everyone!.
First I want to give my thanks and congratulations to all involved in  the GroovyMAME / GroovyArcade project.
I installed GroovyArcade and I had perfect sound and video in no time.
I'm using the latest beta.

However, I can't make my controls work.
My encoder is called "ROF USB Puzzle". It has a dual interface for 2 players controls.

If I do a cat or a jtest the device works, but ADVMenu or GroovyMAME doesn't see it.
I enabled joystick in its config files with no luck.

I've also deleted all files related to wiimote in an attempt to disable it permanently.

My XORG log says xinput is configuring both joysticks as a mouse.

I tried adding a 50-joystick.conf in the etc/x11/xorg.conf.d/ as stated in the archlinux wiki, but it has no effect, xinput keeps configuring it as a mouse.

Forgive my ignorance, but I'm a linux novice, lots of concepts are new to me.

Do I need to install some new package like AntiMicro or xboxdrv?.
I tried compiling them with no luck.
In fact I never managed to compile a simple thing, I allways get lots of errors while compiling and I surrender.

I really need your help to finish this project, I have all the hardware part finished, all of my games and chds works perfectly, but I can't make the controls work.

Thanks in advance and congratulations for your great work!.

Regards.

Whipon.
« Last Edit: November 04, 2014, 11:56:51 pm by Whipon »

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: I need help to make my USB joystick encoder work
« Reply #1 on: May 15, 2014, 01:02:23 pm »
Hi Whipon,

I'm afraid I'm not an expert on joysticks. Let's wait for Ves and see if he can help you.
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

Whipon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19
  • Last login:May 18, 2015, 11:32:08 am
  • I want to build my own arcade controls!
Re: I need help to make my USB joystick encoder work
« Reply #2 on: May 16, 2014, 02:44:46 am »
Hi Whipon,

I'm afraid I'm not an expert on joysticks. Let's wait for Ves and see if he can help you.

Hello Calamity, thanks for your quick reply ;).

I managed to compile xboxdrv and install it. However I couldn't do much with it...it doesn't recognize my controls.
I used its evdev option, but it doesn't create any event at dev/input.

I have a new issue now: I updated the system, and now, all mame games are moved to the lower left corner after loading them in advmame. Its strange since the NES emulator loads well.
I tried messing with the gasetup video options and groovymame -cc with no luck.

Any way to revert video setting back?.

Regards.

Whipon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19
  • Last login:May 18, 2015, 11:32:08 am
  • I want to build my own arcade controls!
Re: I need help to make my USB joystick encoder work
« Reply #3 on: May 18, 2014, 12:05:05 am »
Allright, I understand what I did wrong.
I updated the ATI Drivers, and other parts of the OS so, old GroovyArcade patches and settings doesn't work on my new system.
I understand that I must reinstall GroovyArcade.

But before that, I would like to know how I can get my controls configured as a joystick. I'm using evdev as the driver and xinput configures them as a mouse, ignoring the "StartMouseEnabled" "False" rule on 50-Joystick.conf.

I'll keep digging the web. If someone knows how to make a simple usb hid joystick work in this beautifull OS, I'll be happy to know your setup. Maybe by sharing your config files I can addapt them to my system. I can't be the only person in the world with this type of controller.

Thanks in advance.

Whipon.
« Last Edit: May 18, 2014, 09:10:52 am by Whipon »

ves

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 225
  • Last login:April 11, 2020, 02:57:49 am
Re: I need help to make my USB joystick encoder work
« Reply #4 on: May 19, 2014, 09:12:58 am »
Hello whipon

This problem is known when used wiimotes and joystick simultaneously, you must disable wiimotes.
Quote
systemctl stop wiimote
systemctl status wiimote
systemctl disable wiimote

You have to configure mame and advmenu, to recognize the joystick correctly.

To disable joystick as mouse, delete file.
Quote
/etc/X11/xorg.conf.d/50-joystick.conf

Whipon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19
  • Last login:May 18, 2015, 11:32:08 am
  • I want to build my own arcade controls!
Re: I need help to make my USB joystick encoder work
« Reply #5 on: May 20, 2014, 12:07:12 am »
Thank you very much Ves!.
It worked perfectly in MAME!.
Just had to reinstall GroovyArcade and following your directions I got it working!.

However in Advmenuplus I had to map all the options to the buttons, since the directional pads doesn't get recognized.

1joy_up, 1joy_down or 2joy_up, 2joy_down doesn't do anything. So I had to map up and down to 1joy_1 and 1joy_4 (buttons 1 and 4) to be able to navigate the menu.
Advmenu recognizes buttons from both of my controllers, but It doesn't recognizes the axys.

On Screen MAME Detects the axys as follows:
Code: [Select]
Up Joy 1 A5 ROF USB Puzzle -
Down Joy 1 A5 ROF USB Puzzle +
Left Joy 1 A4 ROF USB Puzzle -
Right Joy 1 A4 ROF USB Puzzle +

In Its cfg file it stored them as follows:

Code: [Select]
Up:
JOYCODE_1_RZAXYS_NEG_SWITCH

Down:
JOYCODE_1_RZAXYS_POS_SWITCH

Left:
JOYCODE_1_RYAXYS_NEG_SWITCH

Right:
JOYCODE_1_RYAXYS_POS_SWITCH

Do you know if this data is useful to make the sticks work?.


Thanks a ton for your help ;), my MAME cab is fully working now  :).

Regards.

ves

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 225
  • Last login:April 11, 2020, 02:57:49 am
Re: I need help to make my USB joystick encoder work
« Reply #6 on: June 14, 2014, 04:05:26 am »
Hello Whipon,

What version are you using GA / AdvmenuPlus?

Run jstest /dev/input/jsXX, and send logs.

Have you activated the joysitck in advmenu?
Quote
device_joystick sdl

If you are using old version of AdvmenuPlus, remember options 1Joy_UP .... are not supported, you'll have to use the old options X_pad...

Quote
event_assign up up or 8_pad or 1joy_up
event_assign down down or 2_pad or 1joy_down
event_assign left left or 4_pad or 1joy_left
event_assign right right or 6_pad or 1joy_right
event_assign enter enter or enter_pad or 1 or 1joy_1
event_assign esc esc or 2 or 2joy_1
event_assign space space or 1joy_2
event_assign home home
event_assign end end
event_assign pgup pgup
event_assign pgdn pgdn
event_assign del del or lalt or 1joy_3
event_assign ins insert or lcontrol or 1joy_4
event_assign shutdown lcontrol esc or p or 2 5 or 2joy_1
event_assign mode tab or z or 2joy_2
event_assign help f1
event_assign favorites_next f2 or q or 2joy_3
event_assign type f3
event_assign exclude f4
event_assign sort f5
event_assign setfavorites f9 or s or 2joy_4
event_assign settype f10
event_assign runclone f12 or a or 1joy_5
event_assign command f8
event_assign menu backquote or backslash or lshift or 2joy_5
event_assign emulator_pre f6 or 5 or 1joy_6
event_assign emulator_next f7 or 6 or 1joy_7



Whipon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19
  • Last login:May 18, 2015, 11:32:08 am
  • I want to build my own arcade controls!
Re: I need help to make my USB joystick encoder work
« Reply #7 on: July 22, 2014, 09:40:15 pm »
Hi Ves!.
Thanks for your reply ;).


I'm using the latest versions of both Groovyarcade and Advmenuplus avalaible at:

https://code.google.com/p/groovyarcade/

Under section

Newest GroovyArcade beta:
Download Newest GroovyArcade beta


At the bottom of the page.


Here is a log for JS0:
Code: [Select]
Log of jstest js0
Tue Jul 22 21:35:01 2014

Joystick (ROF USB Puzzle) has 6 axes and 11 buttons. Driver version is 2.1.0.
Testing ... (interrupt to exit)

Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:on   7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:on   7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:on   7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:on   7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:on   7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:on   7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:-32767  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4: 32767  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5: 32767 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:-32767 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:on   4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:on   5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:on   6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:on   1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:on   2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:on   3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:on   7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off jstestdied with signal 2

Tue Jul 22 21:35:20 2014
----------------

Whipon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19
  • Last login:May 18, 2015, 11:32:08 am
  • I want to build my own arcade controls!
Re: I need help to make my USB joystick encoder work
« Reply #8 on: July 22, 2014, 09:40:32 pm »

And the one for JS1:

Code: [Select]
Log of jstest js1
Tue Jul 22 21:36:37 2014

Joystick (ROF USB Puzzle) has 6 axes and 11 buttons. Driver version is 2.1.0.
Testing ... (interrupt to exit)

Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:on   7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:on   7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:on   7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:on   7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:on   7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:on   7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:-32767 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5: 32767 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:-32767  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4: 32767  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:on   4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:on   5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:on   6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:on   1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:on   2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:on   3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:on   7:off  8:off  9:off 10:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off jstestdied with signal 2

Tue Jul 22 21:36:46 2014
----------------

Here is my advmenu.rc file:

Code: [Select]
config save_at_exit
device_alsa_device default
device_alsa_mixer channel
device_color_bgr15 yes
device_color_bgr16 yes
device_color_bgr24 yes
device_color_bgr32 yes
device_color_bgr8 yes
device_color_palette8 yes
device_color_yuy2 yes
device_joystick sdl
device_keyboard auto
device_mouse none
device_raw_firstkeyhack no
#device_raw_mousedev[0] auto
#device_raw_mousedev[1] auto
#device_raw_mousedev[2] auto
#device_raw_mousedev[3] auto
#device_raw_mousetype[0] pnp
#device_raw_mousetype[1] pnp
#device_raw_mousetype[2] pnp
#device_raw_mousetype[3] pnp
device_sdl_samples 512
device_sound auto
device_video auto
device_video_cursor auto
device_video_doublescan yes
device_video_fastchange no
device_video_interlace yes
device_video_output fullscreen
device_video_overlaysize auto
device_video_singlescan yes
difficulty none
display_brightness 1
display_gamma 1
display_orientation
display_restoreatexit yes
display_restoreatgame no
display_size 648
event_alpha no
emulator "mame" sdlmame "groovymame" ""
emulator_roms "mame" "/media/Roms/MAME/roms"
emulator_flyers "mame" "/media/Roms/MAME/flyers"
emulator_cabinets "mame" "/media/Roms/MAME/cabinets"
emulator_marquees "mame" "/media/Roms/MAME/marquees"
emulator_icons "mame" "/media/Roms/MAME/icons"
emulator_titles "mame" "/media/Roms/MAME/titles"
emulator_altss "mame" "/media/Roms/MAME/snap"
#
emulator_file_custom "mame" /home/roms/Layouts/digi/digi.amp
emulator_file_custom "Atari2600" /home/roms/Layouts/vertical/vertical.amp
#
emulator "N64" generic "switchres" "n64 --xrandr --emulator mupen64plus --rom %p --args --fullscreen"
emulator_altss "N64" "/media/Roms/Snaps/N64"
emulator_roms "N64" "/media/Roms/N64"
#
emulator "NES" generic "switchres" "nes --xrandr --emulator mednafen --rom %p --args"
emulator_altss "NES" "/media/Roms/Snaps/NES"
emulator_roms "NES" "/media/Roms/NES"
#
emulator "SNES" generic "switchres" "snes --xrandr --emulator mednafen --rom %p --args"
emulator_altss "SNES" "/media/Roms/Snaps/SNES"
emulator_roms "SNES" "/media/Roms/SNES"
#
emulator "SegaGenesis" generic "switchres" "genesis --xrandr --emulator mednafen --rom %p --args"
emulator_altss "SegaGenesis" "/media/Roms/Snaps/GEN"
emulator_roms "SegaGenesis" "/media/Roms/GEN"
#
emulator "GameBoyAdvance" generic "switchres" "gba --xrandr --emulator mednafen --rom %p --args"
emulator_altss "GameBoyAdvance" "/media/Roms/Snaps/GBA"
emulator_roms "GameBoyAdvance" "/media/Roms/GBA"
#
emulator "Atari2600" generic "switchres" "a2600 --xrandr --emulator stella --rom %p --args -fullscreen 1"
emulator_altss "Atari2600" "/media/Roms/Snaps/2600"
emulator_roms "Atari2600" "/media/Roms/2600"
#
emulator "DOS" generic "switchres" "exe --xrandr --emulator dosbox --rom %p --args -fullscreen 1"
emulator_altss "DOS" "/home/roms/Snaps/2600"
emulator_roms "DOS" "/media/Roms/DOS/VANGUARD"
#
event_assign up up or 1joy_up
event_assign down down or 1joy_down
event_assign left left or 1joy_left
event_assign right right or 1joy_right
event_assign enter enter or 1joy_7
event_assign esc esc or 1joy_10
event_assign space space
event_assign home home or 1joy_3
event_assign end end or 1joy_6
event_assign pgup pgup or 2joy_up
event_assign pgdn pgdn or 2joy_down
event_assign del del or lalt
event_assign ins insert or lcontrol
event_assign shutdown lcontrol esc or p or 2 5
event_assign mode tab or z
event_assign help f1
event_assign favorites_next f2 or q or 2joy_2
event_assign type f3 or 1joy_1
event_assign exclude f4
event_assign sort f5
event_assign setfavorites f9 or s or 2joy_6
event_assign settype f10
event_assign runclone f12 or 2joy_3
event_assign command f8
event_assign menu backquote or backslash or lshift or 1joy_9
event_assign emulator_pre f6 or 2joy_left
event_assign emulator_next f7 or 2joy_right
event_assign rotate 0_pad
event_assign lock scrlock
event_assign preview space or 2joy_7
event_assign mute period_pad
event_assign mameinfo f11
event_mode fast
event_repeat 500 50
icon_space 43
idle_screensaver 60 10
idle_screensaver_preview snap
idle_start 0 0
include
input_hotkey yes
#lock no
#menu_base 1733
#menu_rel 5
menu_base 0
menu_rel 1
merge differential
misc_exit all
#shutdown
#misc_quiet yes
misc_quiet no
security_exit yes
mame_history /media/Roms/MAME/history.dat
mame_info /media/Roms/MAME/mameinfo.dat
mode list
mode_skip
mouse_delta 100
preview snap
#preview_default none
preview_default /home/arcade/.advance/advmenuplus.png
preview_default_cabinet none
preview_default_flyer none
preview_default_icon none
preview_default_marquee none
preview_default_snap none
preview_default_title none
preview_expand 1.15
rem_selected yes
sort parent
sound_background_begin none
sound_background_end none
sound_background_loop *.mp3
sound_background_loop_dir "/home/arcade/BGM/"
sound_background_start none
sound_background_stop none
sound_buffer 0.1
sound_foreground_begin destiny.mp3
sound_foreground_end dmmlaugh.mp3
sound_foreground_key key.mp3
sound_foreground_start laugh.mp3
sound_foreground_stop dmmlaugh.mp3
sound_latency 0.1
sound_samplerate 44100
sound_volume -3
ui_background background.png
ui_bottombar yes
ui_clip single
ui_color help ffffff 000000
ui_color help_tag 00ff00 000000
ui_color submenu_bar 00ff00 000000
ui_color submenu_item ffffff 000000
ui_color submenu_item_select 808080 ffffff
ui_color submenu_hidden 808080 000000
ui_color submenu_hidden_select 000000 808080
ui_color menu_item ffffff 000000
ui_color menu_hidden 808080 000000
ui_color menu_tag 00ff00 000000
ui_color menu_item_select 000000 00ff00
ui_color menu_hidden_select 808080 00ff00
ui_color menu_tag_select ffffff 00ff00
ui_color bar ffffff 000000
ui_color bar_tag 00ff00 000000
ui_color bar_hidden 808080 000000
ui_color grid 00ff00 000000
ui_color backdrop 000000 808080
ui_color icon ffffff 000000
ui_color cursor ffffff 000000
ui_command_error Error running the command
ui_command_menu Command...
ui_console no
ui_exit none
ui_font comicbd.ttf
ui_fontsize 35
#ui_fontsize auto
ui_game snap
ui_gamemsg "Loading"
ui_help none
ui_menukey yes
ui_skipbottom 0
ui_skipleft 0
ui_skipright 0
ui_skiptop 0
#ui_startup none
ui_startup yes
mame/mode list_mixed
ui_topbar yes
ui_translucency 0.6
mame/menu_base 0
mame/menu_rel 1
mame/preview snap
n64/menu_base 0
n64/menu_rel 1
nes/menu_base 754
nes/menu_rel 9
snes/menu_base 68
snes/menu_rel 23
gba/menu_base 84
gba/menu_rel 25
atari2600/menu_base 186
atari2600/menu_rel 23
segagenesis/menu_base 677
segagenesis/menu_rel 5
type_import catver "mame" "Catver.ini" "Category"
gameboyadvance/menu_base 661
gameboyadvance/menu_rel 23
gameboyadvance/preview snap
n64/mode list
dos/menu_base 0
dos/menu_rel 3
dos/mode text
favorites_include "All Games"
type_include "<undefined>"
mame/type_include "Mahjong"
n64/type_include "<undefined>"
emulator_include "mame"
favorites "Favorites"
type "<undefined>"
type "BIOS"
type "Breakout"
type "Climbing"
type "Device"
type "Driving"
type "Fighter"
type "Fishing"
type "Gambling"
type "Gun"
type "Mahjong"
type "Mature"
type "Maze"
type "Mini"
type "Multiplay"
type "Paddle"
type "Pinball"
type "PinMAME"
type "Platform"
type "Puzzle"
type "Quiz"
type "Racing"
type "Rhythm"
type "Shooter"
type "Sports"
type "Tabletop"
type "Unknown"
type "Wrestling"
emulator_attrib "mame" missing exclude
emulator_attrib "mame" clone exclude
emulator_attrib "mame" bad exclude
emulator_attrib "mame" vector include
emulator_attrib "mame" vertical include
emulator_attrib "mame" neogeo include
emulator_attrib "mame" deco exclude
emulator_attrib "mame" playchoice exclude
emulator_attrib "mame" mechanical exclude
emulator_attrib "mame" mahjong exclude
emulator_attrib "mame" beatmania exclude
emulator_attrib "mame" pokercasino exclude
emulator_attrib "mame" quiztrivial exclude
emulator_attrib "mame" golfdarfish exclude
emulator_attrib "mame" megatech exclude
emulator_attrib "mame" softlist exclude
emulator_attrib "N64" missing exclude
emulator_attrib "NES" missing exclude
emulator_attrib "SNES" missing exclude
emulator_attrib "SegaGenesis" missing exclude
emulator_attrib "GameBoyAdvance" missing exclude
emulator_attrib "Atari2600" missing exclude
emulator_attrib "DOS" missing exclude
game "Atari2600/RealSports Volleyball (1982) (Atari)" "" "" 41 0 ""
game "Atari2600/Tennis (1981) (Activision) [o1]" "" "" 36 0 ""
game "Atari2600/[Hack]-Berzerk (1982)" "" "" 408 0 ""
game "Atari2600/[Hack]-Demon Attack (1982)" "" "" 284 0 ""
game "Atari2600/[Hack]-Laser Gates (1983)" "" "" 452 0 ""
game "Atari2600/[Hack]-Pitfall! (1982)" "" "" 399 0 ""
game "Atari2600/[Hack]-River Raid (1982)" "" "" 295 0 ""
game "DOS/VANGUARD" "" "" 4100 0 ""
game "GameBoyAdvance/V-Rally 3 (U) (M3)" "" "" 171 0 ""
game "GameBoyAdvance/Wolfenstein 3D (U)" "" "" 65 0 ""
game "GameBoyAdvance/X2 - Wolverine's Revenge (UE)" "" "" 80 0 ""
game "GameBoyAdvance/[Hack] Turok Evolution (U)" "" "" 577 0 ""
game "N64/007 - The World is Not Enough (U) [!]" "" "" 174 0 ""
game "N64/Banjo-Kazooie (U) (V1.0) [!]" "" "" 299 0 ""
game "N64/Bomberman 64 (U) [!]" "" "" 64 0 ""
game "N64/Fighting Force 64 (U) [!]" "" "" 306 0 ""
game "N64/Gex 3 - Deep Cover Gecko (U) [!]" "" "" 354 0 ""
game "N64/Goemon's Great Adventure (U) [!]" "" "" 182 0 ""
game "N64/International Superstar Soccer 64 (U) [!]" "" "" 64 0 ""
game "N64/Killer Instinct Gold (U) (V1.2) [o1]" "" "" 378 0 ""
game "NES/Super Mario Bros. (W) [!]" "" "" 67 0 ""
game "NES/[Hack]-Alien 3 (U)" "" "" 1660 0 ""
game "NES/[Hack]-Battle City (J)" "" "" 521 0 ""
game "NES/[Hack]-Battletoads & Double Dragon - The Ultimate Team (U) [!]" "" "" 804 0 ""
game "NES/[Hack]-Bomberman (U) [!]" "" "" 107 0 ""
game "NES/[Hack]-Castlevania (U) (PRG1) [!]" "" "" 537 0 ""
game "NES/[Hack]-Contra (U) [!]" "" "" 541 0 ""
game "NES/[Hack]-Frankenstein - The Monster Returns (U)" "" "" 665 0 ""
game "NES/[Hack]-Galaxian (J)" "" "" 90 0 ""
game "NES/[Hack]-Kunio-kun no Nekketsu Soccer League" "" "" 106 0 ""
game "NES/[Hack]-Mega Man (U) [b1]" "" "" 241 0 ""
game "NES/[Hack]-Mega Man 2 (U)" "" "" 1078 0 ""
game "NES/[Hack]-Mega Man 3 (U) [!]" "" "" 160 0 ""
game "NES/[Hack]-Mega Man 4 (U)" "" "" 582 0 ""
game "NES/[Hack]-Mega Man 5 (U)" "" "" 729 0 ""
game "NES/[Hack]-Operation Wolf (U)" "" "" 148 0 ""
game "NES/[Hack]-Super Mario Bros. (W) [!]" "" "" 402 0 ""
game "NES/[Hack]-W-Wings" "" "" 13 0 ""
game "SNES/2020 Super Baseball (U)" "" "" 36 0 ""
game "SNES/ActRaiser (U) [!]" "" "" 11 0 ""
game "SNES/Arkanoid - Doh It Again (U) [!]" "" "" 311 0 ""
game "SNES/Battletoads & Double Dragon - The Ultimate Team (U) [!]" "" "" 604 0 ""
game "SNES/Captain Commando (U)" "" "" 351 0 ""
game "SNES/Chavez (U)" "" "" 387 0 ""
game "SegaGenesis/3 Ninjas Kick Back (U) [!]" "" "" 38 0 ""
game "SegaGenesis/Aero the Acro-Bat 2 (U) [!]" "" "" 142 0 ""
game "SegaGenesis/Andre Agassi Tennis (U) (REV00) [!]" "" "" 137 0 ""
game "SegaGenesis/Arch Rivals (UE) [!]" "" "" 605 0 ""
game "SegaGenesis/Ayrton Senna's Super Monaco GP II (U) [!]" "" "" 372 0 ""
game "SegaGenesis/Kid Chameleon (UE) [!]" "" "" 229 0 ""
game "SegaGenesis/[Hack]-Alien Soldier (E) [!]" "" "" 706 0 ""
game "SegaGenesis/[Hack]-Bare Knuckle III (J) [!] [T-Eng]" "" "" 1128 0 ""
game "SegaGenesis/[Hack]-Contra - Hard Corps (U) [!]" "" "" 427 0 ""
game "SegaGenesis/[Hack]-Death and Return of Superman, The (U) [!]" "" "" 133 0 ""
game "SegaGenesis/[Hack]-Golden Axe III (J) [!]" "" "" 98 0 ""
game "SegaGenesis/[Hack]-Mega Turrican (U) [!]" "" "" 1030 0 ""
game "SegaGenesis/[Hack]-Rings of Power (UE) [!]" "" "" 727 0 ""
game "SegaGenesis/[Hack]-Robocop Versus The Terminator (U) [!]" "" "" 1385 0 ""
game "SegaGenesis/[Hack]-Rock n' Roll Racing (U) [!]" "" "" 2849 0 ""
game "SegaGenesis/[Hack]-Rocket Knight Adventures (U) [!]" "" "" 533 0 ""
game "SegaGenesis/[Hack]-Shinobi III - Return of the Ninja Master (U) [!]" "" "" 254 0 ""
game "SegaGenesis/[Hack]-Streets of Rage 2 (U) [!]" "" "" 502 0 ""
game "SegaGenesis/[Hack]-Top Gear 2 (U) [!]" "" "" 545 0 ""
game "SegaGenesis/[Hack]-Wolverine Adamantium Rage (UE) [!]" "" "" 1348 0 ""
game "SegaGenesis/[Hack]-X-Men 2 - Clone Wars (W) [!]" "" "" 88 0 ""
game "SegaGenesis/[Hack]-Zool (U) [!]" "" "" 241 0 ""
game "mame/1945kiii" "" "" 237 1 ""
game "mame/20pacgal" "" "" 0 1 ""
game "mame/actfancr" "" "" 39 1 ""
game "mame/aliens" "" "" 1265 1 ""
game "mame/aof" "" "" 20 1 ""
game "mame/aof2" "" "" 19 1 ""
game "mame/aof3" "" "" 22 1 ""
game "mame/arbalest" "" "" 104 1 ""
game "mame/astorm" "" "" 733 5 ""
game "mame/astyanax" "" "" 186 1 ""
game "mame/atetris" "" "" 940 1 ""
game "mame/avsp" "" "" 0 1 ""
game "mame/bakubaku" "" "" 242 1 ""
game "mame/batsugun" "" "" 1354 1 ""
game "mame/berzerk" "" "" 82 1 ""
game "mame/bgaregga" "" "" 1196 1 ""
game "mame/bldyror2" "" "" 38 1 ""
game "mame/blzntrnd" "" "" 389 1 ""
game "mame/brutforc" "" "" 402 2 ""
game "mame/btoads" "" "" 3797 1 ""
game "mame/cadash" "" "" 0 1 ""
game "mame/captcomm" "" "" 434 3 ""
game "mame/contra" "" "" 681 1 ""
game "mame/contra1" "" "" 17 1 ""
game "mame/darkseal" "" "" 1418 1 ""
game "mame/dbz2" "" "" 1563 1 ""
game "mame/ddcrew" "" "" 851 2 ""
game "mame/ddragon" "" "" 1716 1 ""
game "mame/denseib" "" "" 73 1 ""
game "mame/dino" "" "" 7957 3 ""
game "mame/doapp" "" "" 136 1 ""
game "mame/drgnbowl" "" "" 169 1 ""
game "mame/eswat" "" "" 992 1 ""
game "mame/ffight" "" "" 2804 1 ""
game "mame/fishfren" "" "" 0 1 ""
game "mame/garou" "" "" 577 1 ""
game "mame/gauntleg" "" "" 157 1 ""
game "mame/gaxeduel" "" "" 351 1 ""
game "mame/ghouls" "" "" 168 1 ""
game "mame/goalx3" "" "" 429 1 ""
game "mame/goldnaxe" "" "" 301 1 ""
game "mame/gowcaizr" "" "" 560 1 ""
game "mame/gtmr" "" "" 7053 10 ""
game "mame/gundamex" "" "" 10 1 ""
game "mame/hippodrm" "" "" 25 1 ""
game "mame/hsf2" "" "" 182 1 ""
game "mame/hvnsgate" "" "" 0 1 ""
game "mame/iron" "" "" 84 1 ""
game "mame/jchan2" "" "" 754 1 ""
game "mame/jzth" "" "" 365 1 ""
game "mame/kbash2" "" "" 1331 1 ""
game "mame/kinst2" "" "" 0 1 ""
game "mame/kizuna" "" "" 13 1 ""
game "mame/knights" "" "" 75 1 ""
game "mame/kof2000" "" "" 1120 6 ""
game "mame/kof2000n" "" "" 136 1 ""
game "mame/kof2001h" "" "" 242 1 ""
game "mame/kof2002" "" "" 19 1 ""
game "mame/kof2003" "" "" 16 1 ""
game "mame/kof96" "" "" 3076 1 ""
game "mame/kof97" "" "" 30409 43 ""
game "mame/kof97oro" "" "" 729 1 ""
game "mame/kof97pls" "" "" 1874 2 ""
game "mame/kof99" "" "" 11402 26 ""
game "mame/kof99p" "" "" 517 4 ""
game "mame/macrossp" "" "" 210 1 ""
game "mame/mbombrd" "" "" 368 2 ""
game "mame/metamrph" "" "" 1975 2 ""
game "mame/metmqstr" "" "" 850 3 ""
game "mame/mk" "" "" 351 9 ""
game "mame/mk2" "" "" 1133 7 ""
game "mame/mk3" "" "" 0 1 ""
game "mame/mk3mdb" "" "" 97 4 ""
game "mame/mmaulers" "" "" 1480 2 ""
game "mame/ms5pcb" "" "" 36 1 ""
game "mame/msgundam" "" "" 175 1 ""
game "mame/mshvsf" "" "" 1978 6 ""
game "mame/mslug" "" "" 26 1 ""
game "mame/mslug2" "" "" 21 1 ""
game "mame/mslug3" "" "" 82 2 ""
game "mame/mslug4" "" "" 24 1 ""
game "mame/mslug5" "" "" 71 2 ""
game "mame/mslugx" "" "" 3868 3 ""
game "mame/mspacman" "" "" 49 3 ""
game "mame/mvsc" "" "" 2594 3 ""
game "mame/ncommand" "" "" 1722 1 ""
game "mame/nspirit" "" "" 12 1 ""
game "mame/pacplus" "" "" 469 10 ""
game "mame/plsmaswd" "" "" 138 1 ""
game "mame/pow" "" "" 274 1 ""
game "mame/preisle2" "" "" 20 1 ""
game "mame/punisher" "" "" 4221 7 ""
game "mame/pwrinst2" "" "" 167 1 ""
game "mame/ribbit" "" "" 48 1 ""
game "mame/robocop" "" "" 340 1 ""
game "mame/robocop2" "" "" 230 1 ""
game "mame/samsh5sp" "" "" 2552 2 ""
game "mame/samsho2" "" "" 195 1 ""
game "mame/sf" "" "" 632 1 ""
game "mame/sf2" "" "" 2253 2 ""
game "mame/sf2ui" "" "" 31 1 ""
game "mame/sfa3" "" "" 377 1 ""
game "mame/sftm" "" "" 177 1 ""
game "mame/shadfrce" "" "" 1322 1 ""
game "mame/silentd" "" "" 2246 1 ""
game "mame/silkroad" "" "" 2924 2 ""
game "mame/spidman" "" "" 2650 1 ""
game "mame/superman" "" "" 1763 2 ""
game "mame/svcpcb" "" "" 807 1 ""
game "mame/techromn" "" "" 374 2 ""
game "mame/tetrbx" "" "" 268 1 ""
game "mame/theglad" "" "" 685 2 ""
game "mame/tkdensho" "" "" 230 1 ""
game "mame/tmnt2" "" "" 34 1 ""
game "mame/toki" "" "" 1525 1 ""
game "mame/uccops" "" "" 332 1 ""
game "mame/umk3" "" "" 1206 2 ""
game "mame/vcircle" "" "" 374 1 ""
game "mame/viostorm" "" "" 188 3 ""
game "mame/viostormub" "" "" 0 1 ""
game "mame/watrball" "" "" 186 1 ""
game "mame/wbml" "" "" 125 1 ""
game "mame/wbmlb" "" "" 2128 1 ""
game "mame/wbmlvc" "" "" 41 1 ""
game "mame/wtrnymph" "" "" 30 1 ""
game "mame/xmvsf" "" "" 602 2 ""

All the events I assigned to joysticks doesn't work.
As a workaround I used buttons for that events...for example:

Code: [Select]
event_assign up up or 1joy_1


Thanks in advance for your help.

Regards.

Whipon.

bulbousbeard

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 522
  • Last login:August 25, 2015, 11:58:25 pm
  • I want to build my own arcade controls!
Re: I need help to make my USB joystick encoder work
« Reply #9 on: July 23, 2014, 09:27:27 pm »
Just get an IPAC dude. It's better anyway. Less input lag. Why are you wasting time on an inferior solution?

Whipon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19
  • Last login:May 18, 2015, 11:32:08 am
  • I want to build my own arcade controls!
Re: I need help to make my USB joystick encoder work
« Reply #10 on: July 24, 2014, 08:39:37 pm »
Just get an IPAC dude. It's better anyway. Less input lag. Why are you wasting time on an inferior solution?

Hello, how are you?.
I don't have any input lag with this USB encoder.
Sadly I can't get an IPAC, because the Argentina government changed the import regulations.
So its extremely difficult for me to get any item from USA or any other country. Yes I know my government sucks  :angry:.
On the other hand this USB encoder is avalaible in my country, and works perfectly. Only point down is I coulnd't make the joystick to work in the Advmenuplus frontend, so I'm using the buttons to navigate it.

This encoder uses Axys 4 for X and Axys 5 for Y. I suspect that is the reason Advmenuplus doesn't see my sticks. For example, some time ago, I had to recompile the Dosbox emulator with a fully bindable patch, to be able to map my sticks with that emulator. By default Dosbox only uses Axys 1 and 2.

My GroovyArcade MAME cab is fully working, only thing missing is to be able to navigate the frontend with the joystick up and down...instead of mapping those events to button 1 and button 2.
All 20 buttons of my USB encoder work perfectly fine in the frontend.

Thanks a lot for your comment.

Regards.

Whipon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19
  • Last login:May 18, 2015, 11:32:08 am
  • I want to build my own arcade controls!
I gave up >_<!!!
« Reply #11 on: November 05, 2014, 12:06:02 am »
Well, I did some tests with some old usb arcade sticks I had lying around, and they worked perfectly both in AdvMenuPlus and all my emulators.

So I decided to hack them:



I notice a better response in the controls now, plus now I can take advantage of the turbo fire feature of these boards. Now I can enable or disable autofire in the buttons individually.

Thanks for all the replies.

Regards n_n.
« Last Edit: November 05, 2014, 10:01:59 am by Whipon »

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: [SOLVED] - I need help to make my USB joystick encoder work
« Reply #12 on: November 05, 2014, 11:23:21 am »
Very neat solution, thanks for sharing this.
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

Whipon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19
  • Last login:May 18, 2015, 11:32:08 am
  • I want to build my own arcade controls!
Re: [SOLVED] - I need help to make my USB joystick encoder work
« Reply #13 on: November 06, 2014, 03:28:02 pm »
Very neat solution, thanks for sharing this.

Thanks, Calamity, glad you like it  ;).