Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: vputz on May 23, 2004, 11:24:16 pm

Title: XInput, Trackball, Linux--Help!
Post by: vputz 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
Title: Re:XInput, Trackball, Linux--Help!
Post by: vputz 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