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: XInput, Trackball, Linux--Help!  (Read 1081 times)

0 Members and 1 Guest are viewing this topic.

vputz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 115
  • Last login:August 23, 2010, 08:16:05 am
  • I'm a llobter!
XInput, Trackball, Linux--Help!
« on: May 23, 2004, 11:24:16 pm »
I finally finished my CP; woot.  Hooking it up to Linux has been somewhat exciting, but once I figured out what modules to load, etc, it did.

Woot.

All the sticks and buttons work fine.  The trackball is giving me fits.  If I use -grabmouse with xmame, it's uncontrollable, jittery, and obnoxious no matter what speed and sensitivity settings I use.  If I don't -grabmouse, then it works like a champ--in a small box.  Not much use there.

I tried a couple tutorials I found, adding the trackball as an extra XInput device in XF86Config, and supplied xmame with a command line to use the trackball.  This works juuust like not using -grabmouse... trackball feels good, looks good, and stays in a small box.

Getting a touch frustrated.  Any help?

-->VPutz

vputz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 115
  • Last login:August 23, 2010, 08:16:05 am
  • I'm a llobter!
Re:XInput, Trackball, Linux--Help!
« Reply #1 on: May 26, 2004, 01:41:04 pm »
Found the problem; I had set "SendCoreEvents" to "true" in XF86Config-4; setting it to false did the trick (evidently the X subsystem filters events when it receives core events).  I made a second InputDevice entry for the same physical device so that one sent core events and one didn't; that way the same trackball can work in both X and XMame.

-->VPutz