maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   Using PS3 SixAxis controller with N900 (https://talk.maemo.org/showthread.php?t=41693)

smoku 2010-04-22 06:04

Re: Using PS3 SixAxis controller with N900
 
So now I don't know what else to do.

aiyush 2010-04-22 12:39

Re: Using PS3 SixAxis controller with N900
 
No pains Smoku. I will probably try using the earlier versions of daemon and sixaxis support. You were really really helpful in all this troubleshooting. Thanks and kudos!

FreeThinker 2010-04-23 00:59

Re: Using PS3 SixAxis controller with N900
 
I've been testing this with a few games and emulators I have. It has worked perfectly with all of them. I decided to register at maemo.org just to vote this into extras.

Thanks for your great work smoku! :D

aiyush 2010-04-24 07:03

Re: Using PS3 SixAxis controller with N900
 
Guys,

Now that I have tried everything (also the reset joystick trick), it will really help if anyone can tell if they have been able to solve this problem of sixaxis getting connected but not registering any keystrokes.

Smoku, two things for you. First, what does HAL daemon not finding joystick mean? Is sixad acting up, or it could be anything? I downgraded sixad, no good. Second, where can I get old versions of sixaxis support from. Cheers mate!

krepp 2010-04-24 09:30

need help with ps3 controller
 
could someone please help me with the following steps:

Then you need to connect PS3 SIXAXIS to your PC with the USB cable.

Use the sixpair tool. You may compile it yourself

sudo apt-get install libusb-dev
wget http://www.pabr.org/sixlinux/sixpair.c
gcc sixpair.c -lusb -o sixpair
or just download my precompiled binary.
Next, write your N900 Bluetooth address into your controller:

sudo ./sixpair 34:7E:39:4A:37:XX # your N900 BD address
Windows should download Linux LiveCD and use it to run sixpair.

Install software


Open Web Browser (MicroB) on your N900 and tap the green install arrow:

ps: I already downloaded sixpair-what do I do with it?

FreeThinker 2010-04-24 09:41

Re: need help with ps3 controller
 
Plug your controller into your computer with a USB cable, then run sixpair like this:

./sixpair <your N900 bluetooth MAC address here>

You can find this address by going to Settings->About product

krepp 2010-04-24 10:06

Re: need help with ps3 controller
 
what do i run sixpair in? cmd prompt?

Sash 2010-04-24 10:14

Re: need help with ps3 controller
 
Are you running Windows or Linux on your PC?

Windows instructions here:

http://talk.maemo.org/showpost.php?p...&postcount=220

sander 2010-04-24 11:56

Re: Using PS3 SixAxis controller with N900
 
EDIT: I had some good results by making sure Vice is started first and only then the PS3 controller is connected. This makes sure Vice does not detect the mouse. Still fiddling with the "disable-mouse" button mapping in the .fdi file, to make this more configurable (as that seems to be the culprit).

Thanks Smoku for making the package work ! Now for my question: I am trying to get Vice to work with the sixaxis, and I am facing a problem someone else also had (see Vice thread): some keys and the controller itself (accelerometer) seem to make Vice show the menu. Most notably the right-cursor and the O key do this. The accelerometer actually works as a mouse, moving up/down through the menu.

I checked the .fdi file a bit, but did not find a quick way to disable this behaviour, let alone have an explanation why this would be happening in the first place. Some googling revealed that on Ubuntu, the joystick driver seems to emulate a mouse and causes trouble this way. It looks like this may be one of my problems. The suggestion there was to use evdev instead, but surely this does not work on the n900.

Questions:
* did anyone figure out a way to disable accelerometers yet ?
* did anyone figure out a way to disable the mouse behaviour completely ?

I will try to figure it out myself, but needless to say that I don't want to do the job twice ;=)

Thanks,

Sander

krepp 2010-04-24 12:17

Re: need help with ps3 controller
 
Is there a difference between bluetooth address and bluetoothMAC address? I followed the instructions but it didn't work.


All times are GMT. The time now is 20:47.

vBulletin® Version 3.8.8