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: Archlinux sdlmame multipointer issue  (Read 3891 times)

0 Members and 1 Guest are viewing this topic.

Pitou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 101
  • Last login:May 28, 2020, 05:56:46 pm
Archlinux sdlmame multipointer issue
« on: August 06, 2014, 09:47:16 pm »
Hello,

I'm using sdlmame under archlinux along with the minipac and the u-track trackball.

When hitting tab in mame, I go to Player 1 controls and try to map the track X axis and when moving the ball, nothing is detected.
What's strange is that in missile command for example the trackball works fine as it seems to be mouse 1, but cannot make Mame detects it. The issue is that I also have a hacked PS2 mouse connected (to accomodate 2 spinners) which is also mouse 1. I have enabled multimouse in mame.ini

The trackball and spinners works fine in Linux.

Any idea?

Thank you.

Pitou!
« Last Edit: August 07, 2014, 08:51:22 am by Pitou »

Pitou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 101
  • Last login:May 28, 2020, 05:56:46 pm
Re: Archlinux sdlmame multipointer issue
« Reply #1 on: August 06, 2014, 10:53:25 pm »
I just found out something about Xorg and xinput.

Here is the output of xinput list command: (Note that I have connected some more mice)

[manager@Arcade ~]$ xinput list
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Ultimarc MINI-PAC Ultimarc MINI-PAC       id=11   [slave  pointer  (2)]
⎜   ↳ PS/2 Generic Mouse                        id=13   [slave  pointer  (2)]
⎜   ↳ Logitech USB-PS/2 Optical Mouse           id=14   [slave  pointer  (2)]
⎜   ↳ HID Keyboard Device                       id=9    [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Power Button                              id=7    [slave  keyboard (3)]
    ↳ Ultimarc MINI-PAC Ultimarc MINI-PAC       id=10   [slave  keyboard (3)]
    ↳ Ultimarc MINI-PAC Ultimarc MINI-PAC       id=12   [slave  keyboard (3)]
    ↳ HID Keyboard Device                       id=8    [slave  keyboard (3)]
[manager@Arcade ~]$


Anybody have an idea of what I should do to have separate pointers? (xorg.conf config perhaps?)

Thanks.

Pitou!
« Last Edit: August 07, 2014, 08:51:43 am by Pitou »

Pitou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 101
  • Last login:May 28, 2020, 05:56:46 pm
Re: Archlinux sdlmame multipointer issue
« Reply #2 on: August 07, 2014, 08:53:53 am »
Found something about multi-pointer X (MPX) in Linux/Xorg

https://wiki.archlinux.org/index.php/Multi-pointer_X
http://ao2.it/en/blog/2010/01/19/poor-mans-multi-touch-using-multiple-mice-xorg
http://forum.arcadecontrols.com/index.php?topic=98815.0

Does anybody had success with this?

Do you know if sdlmame in Linux supports MPX?

Pitou!
« Last Edit: August 07, 2014, 09:07:48 am by Pitou »