View Single Post
Posts: 557 | Thanked: 370 times | Joined on Apr 2010
#929
Originally Posted by sygys View Post
yeah i once had some complaint about it i believe on page 83. after that i got blown away saying he hasnt had time to fix it and if i wanted it "do it yourself"
I never said anything about not having time to fix it. I clearly stated I can't fix it (see below). I stated do it yourself, because frankly your attitude was one of "I deserve it" to which my response was "no you don't".

i dont have the knowledge, but for as far as i know the guy who made this does!
I don't have the knowledge either. As stated on the first post and MANY subsequent posts: not only did I not mate this package, I did not compile it, not do I hold any powers over even packaging it.

That aside, the issue likes with how sixad is mounted as a joystick. That CERTAINLY has nothing to do with me, and is well outside the power of even the maintainer of mupen64plus.

He also told me to put the controller on the table and then remap the keys. but the accelometer in the ps3 controller is so insane sensitive that even on a steady underground it does key presses.
I must admit I did expect this to work, as that is how I mapped the keys when I was too lazy.

Since I am in a good mood, however, I'll give a few more hints as to editing the config.

First of all grab the joystick tools from the repository:
root
apt-get install joystick

With that done sync up your PS3 and type the following (still as root):

jstest /dev/input/js0

Now press a button or move a joystick and one of the numbers will activate. That is the button (or axes) number for that key. The buttons will switch from off to on.

For example when you press in X you will see 14: off switch to 14: on. Thus X is mapped to 14.

Also note for axis that the number will go positive or negative.

For example Joystick all the way left = -32000, all the way right is 32000 (this may not be the right way round).

With this knowledge open a new terminal alongside this one (press bar at the top and select New), open up blight_input.conf:
leafpad /home/user/.mupen64plus/blight_input.conf

Now this is a little overwhelming at first, but if you look closely the layout is fairly simple. Looking down the left side you will see what each button is named. Followed by a column for its keyboard map, then a button map and next an axis map.

For the PS3 controller we are concerned with the button ( x ) and the axis ( x ).

Firstly begin by looking in the axis ( ) column and seeing if any of them have any numbers. If they do, change it to None.

Eg. axis ( 6- ) should become axis ( None ). This is where you've tried to change to change in the GUI and its ended up mapping it to the accelerometer.

Once that is done you can go through and map the buttons to what you want. For example if you want the A Button to be mapped to X you will put as follows:

A Button= ... button( 14 ); axis( None) ... and leave the rest

Use the jstest terminal window to find the button maps for everything you want and your good to go

For the joysticks simply put the axis number and whether it went negative or positive in jstest.

For example, if you want to map left on the left joystick to C Left:

C button L= ... button( None ); axis( 0- ) ...

Or if you want to map left and right for the N64 Joystick to left and right on the left joystick you'll change:

X Axis= .... button( None , None ); axis( 0- , 0+ );

Then once you are done save the file and exit and your done.

Note: I don't owe you anything.. and the only reason I have given you this information is because I'm in a good mood... please don't change that by saying stupid things and demanding things.
 

The Following User Says Thank You to IzzehO For This Useful Post: