SIXAXIS under Windows

Technical discussion on the newly released and hard to find PS3.

Moderators: cheriff, emoon

Post Reply
89ron
Posts: 51
Joined: Sun Mar 09, 2008 6:03 am

Post by 89ron »

Remove dll and test.
Joel
Posts: 16
Joined: Sat Feb 23, 2008 7:51 am
Contact:

Post by Joel »

the gryo is what makes the difference between the sixaxis and the wiimote, too bad the gyro isnt being used in the wireless driver yet, do you think it could be soon?

would it be possible to controll the mouse's x axis (left/right) with the gyro of the sixaxis controller?

with glovepie, (after calibration) i use the code

mouse.DirectInputX = (RemoveUnits(sixaxis.yaw*568))/100

for every degree of motion, this code increases or decreases the direct input value by 5.68 (i think)
i found out that in a typical 3d game, it needs 2048 direct input units to turn 360 degrees (thats where i came up with 5.68)
how about it? there could be a check box to enable/disable mouse control
89ron
Posts: 51
Joined: Sun Mar 09, 2008 6:03 am

Post by 89ron »

*** Readbulk 0.01 *** (For developper only)


Sniff Bluetooth RAW packet between fbtusb.sys and BT dongle.

Image

There: Readbulk001_src.zip (Visual C++ 6 and more)

Don't forget resize console window.
DarkStone
Posts: 1
Joined: Sat Jul 15, 2006 8:52 am

Post by DarkStone »

tiller wrote:Hi,

I bought a Sixaxis some time ago and I was pretty happy to find a driver that allowed me to use it via BT under Vista (no SP). Yesterday I installed SP1 and since then there's a great delay between pressing a controller's button or moving on of its joysticks.
Can anyone tell me how to fix that problem?

thx
The trick is to open up task manager, right click on BtSix.exe, set the Priority to REALTIME

Version 1.3a seems to be very laggy for me! 1.3 seems to disconnect more than 1.2 for me aswell :|

Good work though 89ron ^_^

http://www.youtube.com/watch?v=FRkbzG4cVSQ <- pad in use!
89ron
Posts: 51
Joined: Sun Mar 09, 2008 6:03 am

Post by 89ron »

Awesome Video, DarkStone !
*** BtSix 1.4 *** CRC: 16203980

http://bqron.free.fr/PS3/BT/BtSix.1.4.zip

+ Battery Information *added*
+ BT Signal Information *added*
- Less Cpu drain and lags *updated*
- Dlls *Removed*
I'm waiting feedbacks :)
rondaguy
Posts: 4
Joined: Sat Apr 12, 2008 3:51 pm

Post by rondaguy »

COOL 89ron!
thanks for the new update.

this is the video of me playing gta:sa on pc using ps3 controller wirelessly.
i managed to get the 6axis to work in the game. see how i control the plane by tilting the controller.....

anyway what is missing now is the FORCE VIBRATION FEEDBACK.
i want it badly. btw, Test Drive Unlimited works great and it can auto detect the new axis. please get force vibration feedback working. thanks alot.

my video link:
http://www.youtube.com/watch?v=t5E1wsxIMj4
DarthGameR
Posts: 18
Joined: Fri Apr 13, 2007 12:52 pm

Post by DarthGameR »

for some reason all my games treat the square button as analog axis and therefore i cant use it as a normal (digital) button. i tried removing analog07 in ppjoy mapping: the dial axis doesnt show up in driver properties anymore but the button is still treated as analog.

btw what is the 'Z Rotation' axis supposed to do? it doesnt respond to anything (all works fine however)
soda97
Posts: 6
Joined: Tue Apr 15, 2008 3:41 am

Post by soda97 »

is supporting more than 1 controller possible?


thanks in advance,
soda
Joel
Posts: 16
Joined: Sat Feb 23, 2008 7:51 am
Contact:

Post by Joel »

excellent work once again, still no gyro however... though i'm not sure how many people outside of myself who would use it (my project is bring presented tommorow.. using glovepie and wires)

data reports very smoothly

DarthGameR:
what is the 'Z Rotation' axis supposed to do?
i guess you are refering to ppjoy and not btsix, this is an extra axis in ppjoy and you can add things to it with other programs (like glovepie)

rondaguy:
what is missing now is the FORCE VIBRATION FEEDBACK
the sixaxis does not have vibration, ever notice how light it is? it had to be removed because of all of the motion sensors. (i think)

edit: oh and here is my website for my project useing the PS3 controller in VR
http://joelclemens.colinr.ca/thesis
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

Actually, the force feedback was removed because some company successfully defended a patent suit against both MS and Sony concerning force feedback in game pads. Actually, they sued MS first, then MS settled out of court for a payment large enough for the company to then sue Sony. MS seems to do that sort of thing a lot.
89ron
Posts: 51
Joined: Sun Mar 09, 2008 6:03 am

Post by 89ron »

Actually, i don't have second controller, but next month maybe i buy a dualshock3 :P (Force Feedback)

If you are interesting by beta testing, you can find next feature there :
http://bqron.free.fr/PS3/BT/.BETA/

0.5.0.0 :
- You can use, up to 4 Sixaxis / DS3.
- Enable/Disable Analog/Digital Button
89ron
Posts: 51
Joined: Sun Mar 09, 2008 6:03 am

Post by 89ron »

Joel wrote:excellent work once again, still no gyro however... though i'm not sure how many people outside of myself who would use it (my project is bring presented tommorow.. using glovepie and wires)

data reports very smoothly
You can read Raw Gyro data, with:
- btsix BRTA 0.05 + Readbulk 0.02 (when it's work :P) + libus0-filter on Win XP

the last 8 word data :

AAAABBBBCCCCDDDD

You can use two method to calculate pitch & roll

1. Typicaly method:
AAAA : AccX.raw
BBBB : AccY.raw
CCCC: AccZ.raw
DDDD: Gyro.raw

Roll (rad) = tan2( AccX.raw , AccZ.raw )
Roll (deg) = Roll (rad) * 180/PI

Pitch (rad) = tan2( AccY.raw, AccZ.raw )
Pitch (deg) = Pitch (rad) * 180/PI

2. Extreme / Normal acceleration method:
AA-- : Extreme Acceleration and --aa : Normal accelartion
BB-- : Extreme Acceleration and --bb : Normal accelartion
CC-- : Extreme Acceleration and --cc : Normal accelartion
DD-- : Extreme Acceleration and --dd : Normal accelartion

For Yaw, pos.X, pos.Y, pos.Z, is more complicated: You must determine a virtual origine, and constantly recalculete position via acceleration.
Last edited by 89ron on Wed Apr 16, 2008 1:30 am, edited 1 time in total.
89ron
Posts: 51
Joined: Sun Mar 09, 2008 6:03 am

Post by 89ron »

Package Update : http://bqron.free.fr/PS3/BT/.BETA/BtSix ... d_gyro.zip

btsix 0.5.0.1 : 9BF41AB8 (Gyro Enabled)
readbulk 0.02 : C12F4CEE (check process disabled)

For read Gyro data:
-1- launch readbulk once, first.
-2- launch BtSix & etablish a connect
-3- launch again readbulk;


!!! WARNING !!! if you don't launch once readbulk before btsix, fbtusb.sys don't share this mem space and if you try a disconnect or quit btsix when readbulk has been launch you crash OS. (blue Screen Of the Death) !!!
Last edited by 89ron on Wed Apr 16, 2008 1:52 am, edited 1 time in total.
soda97
Posts: 6
Joined: Tue Apr 15, 2008 3:41 am

Post by soda97 »

0.5.0.0 :
- You can use, up to 4 Sixaxis / DS3.

up to 4 controllers with the same BT dongle?

if so, this sweet!


soda
89ron
Posts: 51
Joined: Sun Mar 09, 2008 6:03 am

Post by 89ron »

Hardware limit of all BT dongle is 7 devices.
Joel
Posts: 16
Joined: Sat Feb 23, 2008 7:51 am
Contact:

Post by Joel »

thanks someone, i've always known the gyro would eventually work,
but i didn't want to pressure people who are doing this as a hobby/for fun/for free.
my video is still wired, so i'll keep my existing setup for now.
thanks!

http://joelclemens.colinr.ca/thesis
Last edited by Joel on Wed Apr 16, 2008 9:02 am, edited 1 time in total.
89ron
Posts: 51
Joined: Sun Mar 09, 2008 6:03 am

Post by 89ron »

Finaldemo.avi it's Completly Awesome !!!
soda97
Posts: 6
Joined: Tue Apr 15, 2008 3:41 am

Post by soda97 »

89ron wrote:Hardware limit of all BT dongle is 7 devices.
Well...for btstix i meant 'coz it used to only support 1 controller right?
and by 7 devices, it's nothing else but controllers right now right?


thx for the hard work,
soda
89ron
Posts: 51
Joined: Sun Mar 09, 2008 6:03 am

Post by 89ron »

With Beta 0.5.0.0 and 0.5.0.1 you can use 4 controller with 1 BT dongle, yes.
(it's theoricaly. I repeat, i don't have 2nd controller. i can only simulate connection 1,2,3,4)

1.You must create 4 PPJOY Virtual controler
2. you can launch btsix beta and connect each controller separatly (don't forget pairing them, before)
DarthGameR
Posts: 18
Joined: Fri Apr 13, 2007 12:52 pm

Post by DarthGameR »

How can i assign the gyro to an analog axis?

the square button still treated as analog even after i disable it, is there a way to make it digital?

thanks
89ron
Posts: 51
Joined: Sun Mar 09, 2008 6:03 am

Post by 89ron »

Actually gyro datas has not send to ppjoy, because you can't read it with glovepie.

If you want use it anyway, use with readbulk method, you have acces all data.
(Structure of packet data is include with source C )
DarthGameR
Posts: 18
Joined: Fri Apr 13, 2007 12:52 pm

Post by DarthGameR »

89ron wrote: If you want use it anyway, use with readbulk method, you have acces all data.
(Structure of packet data is include with source C )
thanks ill look into it.

btw is it normal that the 4 leds keep blinking after the controller is connected?
89ron
Posts: 51
Joined: Sun Mar 09, 2008 6:03 am

Post by 89ron »

DarthGameR wrote:...
btw is it normal that the 4 leds keep blinking after the controller is connected?
Normally no,
controller 1 = led1,
controller 2 = led2,
controller 3 = led3,
controller 4 = led4.

Anyone have test with two or more controller ?
PRiSMiWi
Posts: 1
Joined: Wed Apr 16, 2008 6:50 pm

Post by PRiSMiWi »

It is possble to run the sixaxis, with gyro and accelerometers using BTSIX and USB wire (Without Bluetooth)?

I only have one USB BlueTooth (Trusth) and i cant install the drivers provided here for that USB Bluetooth...

(Sorry for my english)

Best Regards
89ron
Posts: 51
Joined: Sun Mar 09, 2008 6:03 am

Post by 89ron »

Already, you can use gyro (USB mode) with Glovepie 0.30 : cp-setting->Sixaxis Calibration
DarthGameR
Posts: 18
Joined: Fri Apr 13, 2007 12:52 pm

Post by DarthGameR »

89ron wrote: Normally no,
controller 1 = led1,
controller 2 = led2,
controller 3 = led3,
controller 4 = led4.
ok i tested a few times and after i press the sixaxis button, the controller randomly:
- connects and all 4 leds keep blinking.
- or connects and led1 stay on and led2/3/4 off. in this case dualshock 3 starts vibrating continuously until disconnected.

the same thing happens with 2 or 3 controllers connected.
sIRwa2
Posts: 6
Joined: Sun May 20, 2007 9:47 pm

Post by sIRwa2 »

does this also work on the Ps3 BD Remote? i love to get that working on my media center pc..
la2ar0
Posts: 1
Joined: Thu Apr 17, 2008 6:18 am

multiple sixaxis controllers

Post by la2ar0 »

Hey 89ron and everyone else here who is contributing to the development of this software, many thanks for all your efforts.

I have two sixaxis controllers here. Running the beta 0.5.0.1.

Here's a sequence of events.

- Controller1: press PS button, pairs OK. LED1 on, perfectly usable.
- Controller2: press PS button. All LEDs begin blinking fast.
- Controller1: LED1 goes off, LED2 lights up.
- Controller2: eventually powers off and fails to pair.
- Controller1: LED2 remains lit until disconnected in btsix.

I've repeated this process alternating controllers, I'm sure that they will both pair as Controller1 and both work fine, but when trying to pair the second, it doesn't seem to work.

If I'm doing something dumb, let me know - otherwise, I hope this info is useful to 89ron who mentioned that he can only simulate controllers other than the first one. I'll be happy to keep testing as new versions roll out and will report when multiple controllers work properly.
rondaguy
Posts: 4
Joined: Sat Apr 12, 2008 3:51 pm

Post by rondaguy »

Joel wrote:
rondaguy:
what is missing now is the FORCE VIBRATION FEEDBACK
the sixaxis does not have vibration, ever notice how light it is? it had to be removed because of all of the motion sensors. (i think)

edit: oh and here is my website for my project useing the PS3 controller in VR
http://joelclemens.colinr.ca/thesis
i bought the dualshock3 ps3 wireless controller long ago that's why i post that.

i want force feedback!! please!

edit" perhaps 89ron can setup a donate paypal site and many will donate for ur project lol. get a new dualshock3 controller or smth. :)
gobmonster
Posts: 1
Joined: Sat Apr 19, 2008 5:35 am

Post by gobmonster »

rondaguy wrote:i bought the dualshock3 ps3 wireless controller long ago that's why i post that.

i want force feedback!! please!

edit" perhaps 89ron can setup a donate paypal site and many will donate for ur project lol. get a new dualshock3 controller or smth. :)
I've been lurking this site and i just wanted to say this would be a good idea (paypal account that is). I bought my DS3 controller two days ago and was frustrated at the +1 year old drivers for the sixaxis, these seem to work pretty well.

On a side note. For some reason, when i use controlmk, my the virtual gamepad is not recognized, but it is on other apps. Also, even after following the steps, the latest beta still gives me instant blue screen.

Keep up the good work 89ron, and try to get that paypal account, your expertise would be needed on the dual shock controller. I'm going to go back to lurking and i promise not to direct people to this site, but i make link to the file, BT'ing this controller to my laptop is well worth telling others about.
____________

My contribution to the community:

I dont know how necessary this is, but i thought id give all the locations for the digital and analog(axis/pressure) inputs of the DS3 controller. Ive been playing gta sanandreas with the tilt sensor for driving for the last hour or so (thanks to a program called SAAC), and it took some time trying to connect axises with windows gamepad limitations.

Anyways....
Analog
0 - left stick x axis
1 - left stick y axis
2 - right stick x axis
3 - UNKNOWN
4 - right stick y axis
5 - tilt x axis (left negative, right positive)
6 - tilt y axis (forward negative, backword positive)
7 - square
8 - x
9 - circle
10- triangle
11- R1
12- L1
13- R2
14- L2
15- Dpad left
16- Dpad down
17- Dpad right
18- Dpad up

Digital
0 - square
1 - x
2 - cricle
3 - triangle
4 - R1
5 - L1
6 - R2
7 - L2
8 - Dpad left
9 - Dpad down
10- Dpad right
11- Dpad up
12- start
13- right stick button
14- left stick button
15- select
16- PS3 home button
Analog 3 took me by surprise, i dont know what it does or why its in between the right stick x axis and y axis. I did all my testing on ppjoystick's mapping, but these are the correct location of the inputs. Feel free to copy paste them :p
Post Reply