forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SIXAXIS under Windows
Goto page Previous  1, 2, 3, 4, 5 ... 18, 19, 20  Next
 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Development
View previous topic :: View next topic  
Author Message
89ron



Joined: 09 Mar 2008
Posts: 51

PostPosted: Wed Apr 09, 2008 3:22 am    Post subject: Reply with quote

Remove dll and test.
Back to top
View user's profile Send private message
Joel



Joined: 23 Feb 2008
Posts: 16

PostPosted: Wed Apr 09, 2008 6:28 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
89ron



Joined: 09 Mar 2008
Posts: 51

PostPosted: Thu Apr 10, 2008 8:35 pm    Post subject: Reply with quote

*** 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.
Back to top
View user's profile Send private message
DarkStone



Joined: 15 Jul 2006
Posts: 1

PostPosted: Thu Apr 10, 2008 10:02 pm    Post subject: Reply with quote

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!
Back to top
View user's profile Send private message
89ron



Joined: 09 Mar 2008
Posts: 51

PostPosted: Sat Apr 12, 2008 10:26 am    Post subject: Reply with quote

Awesome Video, DarkStone !
Quote:

*** 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 :)
Back to top
View user's profile Send private message
rondaguy



Joined: 12 Apr 2008
Posts: 4

PostPosted: Sat Apr 12, 2008 6:29 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
DarthGameR



Joined: 13 Apr 2007
Posts: 18

PostPosted: Mon Apr 14, 2008 12:46 pm    Post subject: Reply with quote

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)
Back to top
View user's profile Send private message
soda97



Joined: 15 Apr 2008
Posts: 6

PostPosted: Tue Apr 15, 2008 3:42 am    Post subject: Reply with quote

is supporting more than 1 controller possible?


thanks in advance,
soda
Back to top
View user's profile Send private message
Joel



Joined: 23 Feb 2008
Posts: 16

PostPosted: Tue Apr 15, 2008 11:25 am    Post subject: Reply with quote

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:
Quote:
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:
Quote:
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
Back to top
View user's profile Send private message Visit poster's website
J.F.



Joined: 22 Feb 2004
Posts: 2907

PostPosted: Tue Apr 15, 2008 12:58 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message AIM Address
89ron



Joined: 09 Mar 2008
Posts: 51

PostPosted: Tue Apr 15, 2008 6:44 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
89ron



Joined: 09 Mar 2008
Posts: 51

PostPosted: Tue Apr 15, 2008 7:51 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
89ron



Joined: 09 Mar 2008
Posts: 51

PostPosted: Wed Apr 16, 2008 1:29 am    Post subject: Reply with quote

Package Update : http://bqron.free.fr/PS3/BT/.BETA/BtSix.beta.0.5.0.1_and_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
Back to top
View user's profile Send private message
soda97



Joined: 15 Apr 2008
Posts: 6

PostPosted: Wed Apr 16, 2008 1:30 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
89ron



Joined: 09 Mar 2008
Posts: 51

PostPosted: Wed Apr 16, 2008 1:49 am    Post subject: Reply with quote

Hardware limit of all BT dongle is 7 devices.
Back to top
View user's profile Send private message
Joel



Joined: 23 Feb 2008
Posts: 16

PostPosted: Wed Apr 16, 2008 1:52 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
89ron



Joined: 09 Mar 2008
Posts: 51

PostPosted: Wed Apr 16, 2008 2:22 am    Post subject: Reply with quote

Finaldemo.avi it's Completly Awesome !!!
Back to top
View user's profile Send private message
soda97



Joined: 15 Apr 2008
Posts: 6

PostPosted: Wed Apr 16, 2008 2:25 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
89ron



Joined: 09 Mar 2008
Posts: 51

PostPosted: Wed Apr 16, 2008 2:47 am    Post subject: Reply with quote

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)
Back to top
View user's profile Send private message
DarthGameR



Joined: 13 Apr 2007
Posts: 18

PostPosted: Wed Apr 16, 2008 3:43 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
89ron



Joined: 09 Mar 2008
Posts: 51

PostPosted: Wed Apr 16, 2008 4:50 am    Post subject: Reply with quote

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 )
Back to top
View user's profile Send private message
DarthGameR



Joined: 13 Apr 2007
Posts: 18

PostPosted: Wed Apr 16, 2008 9:32 am    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
89ron



Joined: 09 Mar 2008
Posts: 51

PostPosted: Wed Apr 16, 2008 10:57 am    Post subject: Reply with quote

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 ?
Back to top
View user's profile Send private message
PRiSMiWi



Joined: 16 Apr 2008
Posts: 1

PostPosted: Wed Apr 16, 2008 7:03 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
89ron



Joined: 09 Mar 2008
Posts: 51

PostPosted: Wed Apr 16, 2008 11:47 pm    Post subject: Reply with quote

Already, you can use gyro (USB mode) with Glovepie 0.30 : cp-setting->Sixaxis Calibration
Back to top
View user's profile Send private message
DarthGameR



Joined: 13 Apr 2007
Posts: 18

PostPosted: Thu Apr 17, 2008 12:26 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
sIRwa2



Joined: 20 May 2007
Posts: 7

PostPosted: Thu Apr 17, 2008 3:10 am    Post subject: Reply with quote

does this also work on the Ps3 BD Remote? i love to get that working on my media center pc..
Back to top
View user's profile Send private message
la2ar0



Joined: 17 Apr 2008
Posts: 1

PostPosted: Thu Apr 17, 2008 6:32 am    Post subject: multiple sixaxis controllers Reply with quote

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.
Back to top
View user's profile Send private message
rondaguy



Joined: 12 Apr 2008
Posts: 4

PostPosted: Sat Apr 19, 2008 1:26 am    Post subject: Reply with quote

Joel wrote:


rondaguy:
Quote:
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. :)
Back to top
View user's profile Send private message
gobmonster



Joined: 19 Apr 2008
Posts: 1

PostPosted: Sat Apr 19, 2008 5:46 am    Post subject: Reply with quote

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....
Quote:
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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Development All times are GMT + 10 Hours
Goto page Previous  1, 2, 3, 4, 5 ... 18, 19, 20  Next
Page 4 of 20

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group