The Following User Says Thank You to smoku For This Useful Post: | ||
|
2010-05-16
, 15:43
|
|
Posts: 305 |
Thanked: 71 times |
Joined on Dec 2009
@ 'Nam
|
#632
|
|
2010-05-18
, 01:19
|
Posts: 271 |
Thanked: 107 times |
Joined on May 2008
@ Georgia
|
#633
|
----------------------------------------------------------
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:
- Activate Bluetooth on N900 (Visible: Yes)
- Press PS button on controller
- Wait for the SixAxis light to stop flashing
- 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:
- http://forums.windower.net/topic/119...88206dffcab19d
- http://tomasz.sterna.tv/2010/02/play...is-controller/
- this thread
- smoku
BIG THANKS to "smoku" for this!
.
|
2010-05-18
, 10:52
|
Posts: 557 |
Thanked: 370 times |
Joined on Apr 2010
|
#634
|
|
2010-05-18
, 20:29
|
|
Posts: 1,716 |
Thanked: 3,007 times |
Joined on Dec 2009
@ Warsaw, Poland
|
#635
|
The Following User Says Thank You to smoku For This Useful Post: | ||
|
2010-05-18
, 23:07
|
Posts: 7 |
Thanked: 0 times |
Joined on May 2010
|
#636
|
dpkg -i --force-architecture maemo_flasher-3.5_2.5.2.2_i386.deb
flasher-3.5 -F RX-51_2009SE_1.2009.41-1.VANILLA_PR_EMMC_MR0_ARM.bin -f
flasher-3.5 -F RX-51_2009SE_3.2010.02-8.002_PR_COMBINED_002_ARM.bin -f -R
|
2010-05-19
, 15:09
|
|
Posts: 1,716 |
Thanked: 3,007 times |
Joined on Dec 2009
@ Warsaw, Poland
|
#637
|
The Following User Says Thank You to smoku For This Useful Post: | ||
|
2010-05-19
, 16:28
|
Posts: 71 |
Thanked: 5 times |
Joined on May 2010
|
#638
|
sudo apt-get install libusb-dev
wget http://www.pabr.org/sixlinux/sixpair.c
gcc sixpair.c -lusb -o sixpair
sudo ./sixpair 34:7E:39:4A:37:XX
The Following User Says Thank You to Hmoobwarrior For This Useful Post: | ||
|
2010-05-19
, 17:05
|
|
Posts: 1,716 |
Thanked: 3,007 times |
Joined on Dec 2009
@ Warsaw, Poland
|
#639
|
I
what you do next is copy and paste
tip (copy short cut is ctrl+c and past in terminal is ctrl+shift+v)
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
|
2010-05-20
, 03:42
|
|
Posts: 223 |
Thanked: 135 times |
Joined on Apr 2010
@ Wish I was in Greece
|
#640
|
Can anyone with experience of pairing the PS3 controller with N900 in windows help me with either of these please?
The Following User Says Thank You to Parlapipas For This Useful Post: | ||
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N