SIXAXIS under Windows
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
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
*** Readbulk 0.01 *** (For developper only)
Sniff Bluetooth RAW packet between fbtusb.sys and BT dongle.
There: Readbulk001_src.zip (Visual C++ 6 and more)
Don't forget resize console window.
Sniff Bluetooth RAW packet between fbtusb.sys and BT dongle.
There: Readbulk001_src.zip (Visual C++ 6 and more)
Don't forget resize console window.
The trick is to open up task manager, right click on BtSix.exe, set the Priority to REALTIMEtiller 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
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!
Awesome Video, DarkStone !
I'm waiting feedbacks :)*** 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*
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
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
-
- Posts: 18
- Joined: Fri Apr 13, 2007 12:52 pm
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)
btw what is the 'Z Rotation' axis supposed to do? it doesnt respond to anything (all works fine however)
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:
rondaguy:
edit: oh and here is my website for my project useing the PS3 controller in VR
http://joelclemens.colinr.ca/thesis
data reports very smoothly
DarthGameR:
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)what is the 'Z Rotation' axis supposed to do?
rondaguy:
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)what is missing now is the FORCE VIBRATION FEEDBACK
edit: oh and here is my website for my project useing the PS3 controller in VR
http://joelclemens.colinr.ca/thesis
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.
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
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
You can read Raw Gyro data, with: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
- 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.
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) !!!
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.
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
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.
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)
(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)
-
- Posts: 18
- Joined: Fri Apr 13, 2007 12:52 pm
-
- Posts: 18
- Joined: Fri Apr 13, 2007 12:52 pm
-
- Posts: 18
- Joined: Fri Apr 13, 2007 12:52 pm
ok i tested a few times and after i press the sixaxis button, the controller randomly:89ron wrote: Normally no,
controller 1 = led1,
controller 2 = led2,
controller 3 = led3,
controller 4 = led4.
- 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.
multiple sixaxis controllers
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.
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.
i bought the dualshock3 ps3 wireless controller long ago that's why i post that.Joel wrote:
rondaguy: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)what is missing now is the FORCE VIBRATION FEEDBACK
edit: oh and here is my website for my project useing the PS3 controller in VR
http://joelclemens.colinr.ca/thesis
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. :)
-
- Posts: 1
- Joined: Sat Apr 19, 2008 5:35 am
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.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. :)
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 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 :pAnalog
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