Notices


Reply
Thread Tools
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#631
Originally Posted by Hotshot View Post
how should I go about remapping keys to pay with picodrive and snes? Any tips?
In picodrive/drnoksnes configuration maybe?
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 

The Following User Says Thank You to smoku For This Useful Post:
Hotshot's Avatar
Posts: 305 | Thanked: 71 times | Joined on Dec 2009 @ 'Nam
#632
Originally Posted by smoku View Post
In picodrive/drnoksnes configuration maybe?
Hahaha thanks!!! Don't know what I was thinking. Now I got it up and running. Now I have every snes and sega game at my finger tips
__________________
I ever tell you about the time......
 
Posts: 271 | Thanked: 107 times | Joined on May 2008 @ Georgia
#633
Originally Posted by f2thak View Post
----------------------------------------------------------
Use PS3 SixAxis Controller with N900
For Windows Users
----------------------------------------------------------

Windows 7 and Vista users may have problems using Home edition OS's, especially with 64-bit editions.
Being able to run XP mode helps a lot. If you cannot, go here.




Installation/Config:

1. Ensure you have a N900, a genuine PS3 SixAxis controller (DS3 will work) and a USB cable to plug controller into your PC

2. On your N900, install "sixaxis-support" from extras repo

3. on PC install libusb-win32-filter-bin-0.1.10.1 (32-Bit Machines ONLY)
use this version (you may try newest version but Im unsure if it works)
64 BIT USERS GO HERE WARNING: THIS CAN CAUSE PROBLEMS, DO SO AT YOUR OWN RISK

4. on PC install GlovePie
use this version (you may try newest version but Im unsure if it works)

5. on PC open file in notepad:
X:/*GlovePie Directory*/SixaxisScripts/n900.pie

6. go to this section:

sixaxis.BluetoothMAC = "xx:xx"

and replace the xx:xx with your phones Bluetooth address
(to find, go to: settings > general > about product)

7. connect SixAxis controller to PC

8. on PC, run GlovePie

9. Go to File > Open > X:/*GlovePie Directory*/SixaxisScripts/n900.pie

10. click the "Run >" button, wait a few seconds then press the controllers Connect button a few times

11. close GlovePie and disconnect controller





Usage:
  1. Activate Bluetooth on N900 (Visible: Yes)
  2. Press PS button on controller
  3. Wait for the SixAxis light to stop flashing
  4. To disconnect, turn off Bluetooth on phone





Connection Problems?:

add "input" back into the disabled modules in:

/etc/bluetooth/main.conf

stop/start bluetooth.
Note: doesn't work with "input" missing.





Create your own Custom button configuration:

To configure SixAxis buttons, on N900 edit:
/usr/share/hal/fdi/policy/20thirdparty/20-x11-sony-sixaxis.fdi

In this file, each group has the current set keys shown in descending order (top > bottom). in the section shown below, the top line is for the "select" button. to change the button, change the key number (key=??) which is highlighted in red. to find which key number to use, refer to "N900 X11 keycodes" below.

Code:
      <!-- Select=Z; Analog L; Analog R; Start=Enter; PS=Backspace -->
      <merge key="input.x11_options.MapButton1" type="string">key=52</merge>
      <merge key="input.x11_options.MapButton2" type="string">key=54</merge>
      <merge key="input.x11_options.MapButton3" type="string">key=55</merge>
      <merge key="input.x11_options.MapButton4" type="string">key=36</merge>
      <merge key="input.x11_options.MapButton17" type="string">key=22</merge>

N900 X11 keycodes (US layout):

The codes below relate to the N900 keyboard buttons.
Each line represents the lines of keys.
  • 37 = Ctrl/Sym
  • ?? = Fn
  • 50 = Shift
  • 43 = H
  • and so on...
Code:
37 24 25 26 27 28 29 30 31 32 33 48 22
?? 38 39 40 41 42 43 44 45 46 60 111 36
50 52 53 54 55 56 57 58  65  113 116 114

To determine controller buttons order:

pair controlller, then in xterm as root, type:

jstest /dev/input/js0





Re-connect SixAxis to PS3:

Connect controller to the PS3 with the USB cable and press the PS button to pair them. If this doesnt work, press the reset button on the controller and repeat:






Sources:

BIG THANKS to "smoku" for this!


.

tHIS works...Thanks.

Now...were are the games that works without no emulator??.
 
Posts: 557 | Thanked: 370 times | Joined on Apr 2010
#634
My PS3 controller is arriving tomorrow. Does anyone know of a decent Quake 3/Open Arena config for the controller? Config at either end would be great (change controller keymap, or Q3 key config).

I'll probably try and write up a decent script that'll change the PS3 key mappings automagically to the defaults for the more common games/emulators once I get over the initial play. It should be a lot more trivial for most things to just have the controller perform the different action.
 
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#635
You need to pair using USB cable.
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 

The Following User Says Thank You to smoku For This Useful Post:
Posts: 7 | Thanked: 0 times | Joined on May 2010
#636
Listed below is EXACTLY what I have done (using Linux Mint 8 amd64), and it works flawlessly. Please keep in mind ALL of this info I picked up from Maemo.org.

Before you begin: please read every last word of this post and get a good idea of what all is involved before you get stuck.

This is my very first "help" tutorial. Please understand that this is the only way I can contribute to the "Linux" community, and it is limited at best.

ANOTHER IMPORTANT NOTE: BACKUP BACKUP BACKUP!!!!!!

This procedure will get you started from scratch, this will in turn save you a lot of heartache in the end, if followed correctly.

Also note, if you are NOT comfortable doing this THEN DON'T. If you are unfamiliar with this type of procedure... THEN DON'T DO IT.

Not to sound rude but this is the only way to put it. Thanks in advance for understanding. BTW, I am a noob too, so use these instructions carefully.


BEFORE FLASH: (See resources at the end of post)

Backup,
Then, write down ALL of your repositories (application Catalogs) here are mine:

Maemo Extras
http://repository.maemo.org/extras/
fremantle
free non-free

Maemo Extras-Testing
http://repository.maemo.org/extras-testing/
fremantle
free non-free

Maemo Extras-Devel
http://repository.maemo.org/extras-devel/
fremantle
free non-free

Xiaoka Maemo Extras Repo
http://codex.xiaoka.com/apt/
left blank
free non-free



Install maemo flasher on host machine (assuming you have linux and it (flasher) is not already installed)
(for amd64 linux mint)
Code:
dpkg -i --force-architecture maemo_flasher-3.5_2.5.2.2_i386.deb

Power up n900 while holding u key (while Powered off, plug in usb cable while holding "u" key)


Change directory (to directory where flash image is located)
e.g. cd /home/users_name/desktop/


FLASH: (in terminal on host machine type/paste the following)(this step is optional)

Code:
flasher-3.5 -F RX-51_2009SE_1.2009.41-1.VANILLA_PR_EMMC_MR0_ARM.bin -f

DO NOT REBOOT YOUR DEVICE!!!! If you do the above step
(This step is optional as it removes EVERYTHING, e.g. settings and the like. If you did, backup,
it will be safely stored on your sd card, which is NOT effected)

Code:
flasher-3.5 -F RX-51_2009SE_3.2010.02-8.002_PR_COMBINED_002_ARM.bin -f -R

(-R = reboot when finished)

AFTER THE FLASH:

Install Sixaxis
(Follow the instructions on the Developer's site EXPLICITLY)

Reboot
Then proceed to the next steps.

RESTORE FROM BACKUP:

Restore apps,
Next Contacts,
Finally Settings

-END-

I was having the same issues as everyone else. I then decided to do the procedure above with no problems.

Thanks Smoku for writing this program.

Please feel free to modify this list as necessary for ease of use.

Resources:

Flashing instructions
Sixaxis Developer's Instructions

Last edited by neodammerung; 2010-05-19 at 21:54.
 
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#637
1. It shouldn't. My BT headphones do not interfere.
2. I have no Windows installed, so I cannot give any Windows related hints. I suggest though getting a Linux Live CD and using sixpair binary there.
3. See point 2.
4. This means it's waiting for connection. Probably it's not paired properly. There should be only one led lit after successful connection.
5. Yes, you need to put your N900 BT addres into the PS3 controller - it needs to know which device it needs to connect after pressing PS button.
6. sixpair binary will tell you what was the previous address entered in the controler and the adres it put in.
If you're asking whether there will be some indication after successful connection of the controller to the device - the LEDs stop blinking, and the BT icon on N900 turns blue.
7. No idea. Linux Live CD maybe?
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 

The Following User Says Thank You to smoku For This Useful Post:
Posts: 71 | Thanked: 5 times | Joined on May 2010
#638
I know there are probably a few step by step instruction already but i would like to share the one i use and hopefully it helps someone.

-First install ubuntu in to window or just run the live cd (google ubuntu) and then run ubuntu os
-plug in your ps3 controller and turn it on by pressing ps button
-open fire fox and type in

http://tomasz.sterna.tv/2010/02/play...is-controller/

or if your on this page in ubutun click on link lol

what you do next is copy and paste
tip (copy short cut is ctrl+c and past in terminal is ctrl+shift+v)

sudo apt-get install libusb-dev
wget http://www.pabr.org/sixlinux/sixpair.c
gcc sixpair.c -lusb -o sixpair
into terminal and hit enter (note you have to be super user/admin) it will prompt for admin sudo password

after this is instal

find your blue tooth mac address in you n900 by going to setting the device information

copy and paste the following command and replace the mac address with yours

sudo ./sixpair 34:7E:39:4A:37:XX
after this ps3 controller default primary device should be your n900.

unplug ps3 controller

go on to your n900 open browser and go to the same website stated above (or come to this site and click on the link above)

go down the the green arrow and click on it and it should install the necessary files needed for your n900.

i recommend turning off your n900 and turning it back on before precedding next step

after you turn you n900 back on what you want to do is turn on the blue tooth then hit ps3 ps controller. look at your n900 the top left corner your blue tooh icon should turn blue. now go into any emulator and go to setting and try changing your button by pressing on your ps3 controller (note: the light on your ps3 controller shold stop blinking once the icon turns blue.

here is a video of same text explaination (coming soon typing on this from my n900 and the qik program not working as intended)
 

The Following User Says Thank You to Hmoobwarrior For This Useful Post:
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#639
Originally Posted by Hmoobwarrior View Post
I
what you do next is copy and paste
tip (copy short cut is ctrl+c and past in terminal is ctrl+shift+v)
My sixpair binary is compiled on/for Ubuntu, so I would replace that with:
Code:
wget http://tomasz.sterna.tv/uploads/2010/02/sixpair.gz
gzip -d sixpair.gz 
chmod +x sixpair 
sudo ./sixpair 34:7E:39:4A:37:XX
It should also work on other distributions.
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N

Last edited by smoku; 2010-05-19 at 17:07.
 
Parlapipas's Avatar
Posts: 223 | Thanked: 135 times | Joined on Apr 2010 @ Wish I was in Greece
#640
Originally Posted by devildriven View Post
Can anyone with experience of pairing the PS3 controller with N900 in windows help me with either of these please?
Originally Posted by devildriven View Post

1. When i run glovepie it starts and the window greys out but there is no message to indicate that the program has finished running. Is this normal?

Yes. Once you run the cmd it will turn grey. Just hit the ps3 button then and you should be done with this step.

i have installed sixad and sixaxis support from extras testing. Should i use the download link from smokus original post or are these old versions?

No, if you installed them from extras testing, you should be fine

2. Do i need bluetooth on the phone to be on and visible during the glovepie process?

No. Once you have completed the glove pie process, unplug your controller from your PC and shut down glovepie. Now turn your bluetooth on your phone and make it visible. Then click on the ps3 button to sync the two. If you did everything right, the ps3 controller will first flash all 4 LED's and then start flashing them in succession (like knight rider lol) and then eventually will stop on one and the bluetooth icon on your phone will turn blue.

Have you read f2thak's posting on this? That's how I did it and if you follow the steps carefully you shouldn't have any problems (thanks f2thak) http://talk.maemo.org/showpost.php?p...&postcount=220
 

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


 
Forum Jump


All times are GMT. The time now is 23:45.