|
Snes9x w/ analog L & R triggers?
I've compiled and installed the latest version of Snes9X onto my system (Slackware 10.1) and it works fine, except I'm having a problem mapping the buttons on my USB controller. Most of the buttons map fine (A,B,X,Y,Start), but the problem I'm having is with the L & R buttons.
The problem stems from the fact that my USB controller has analog triggers (as opposed to digital buttons) for the L & R buttons. My controller is a Mad Catz USB controller, which essentially is an XBox controller only without the memory card slot and rumble mechanism. The L & R buttons *work* (I can view their status in KDE's Control Center, and they work fine in XMAME), but I cannot figure out how to map them to the L & R buttons in Snes9X.
In XMAME, they come up as individual axis', and in the KDE Control Center, are given a numerical range from -32768 to +32768, not 'on' or 'off' like the other digital buttons.
I usually call Snes9X from the bash shell (yes, I'm strange) with the -joymap0 argument, followed by the corresponding button numbers, but since L & R in this case are treated as an axis, I'm lost as to how to invoke this, or even if it can be. Any ideas of how I might be able to do this?
Thanks!
- skubik.
|