Jakal wrote:thanks for the reply. I tried the method you suggested, but it still randomly assigns buttons. It's like the controller is in "hyper" mode. If only I could simply edit a .config file. Am I the only one with this problem?
Which version of stella are you using? I'm using 3.0. I can see where occasionally I don't get what I'm trying for the first time, but it's not giving me a lot of trouble.
If you want to
see what's causing the problem, install the
joystick package which includes the jstest utility.
- Code: Select all
yum install joystick
Assuming you have only one Sixaxis connected via Bluetooth or USB, the device should be /dev/input/js0, so you'd use:
- Code: Select all
jstest /dev/input/js0
With that running, you can see where each of buttons (with the exception of Select, Start, and PS), including the D-pad, are pressure sensitive and reported as both axes
and buttons. This causes problems for quite a few Linux games and emulators which weren't developed with a 28 axis,19 button pressure sensitive controller in mind. Plug in a regular PC gamepad and you won't experience this problem.
The config file for stella should be located at ~/.stella/stellarc (/home/yourusername/.stella/stellarc) but the lines for input don't look like something you'd want to edit by hand -- for example the joymap line for buttons is 793 columns wide on mine and is just a string of numbers separated by colons.
If you can give me an idea of how you'd like it set up I can try setting mine and posting the config file (ex. d-pad for up/down/left/right, X for button, configuring for two Sixaxis controllers).