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 

PS2 Analog Mode

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
ThePaper



Joined: 08 Apr 2004
Posts: 1
Location: England

PostPosted: Thu Apr 08, 2004 6:29 am    Post subject: PS2 Analog Mode Reply with quote

Does anyone know the communication protocol for a PS2 gamepad?

I'm trying to access the pressure sensors on my PS2 controller however the documentation available on the web only covers the protocol for DUAL SHOCK/ANALOG PS1 controllers (ID 0x73).

I'm believe that the PS2 requests the activation of the pressure sensors on the X 0 [] /\ ... buttons with a separate command because if left to its own devices a PS2 contoller will ID itself as a DUALSHOCK/ANALOG controller and return data as if it was a PS1 controller (only provides analog data on the left right joysticks).

Hence their must be a separate command issued from the PS2 to activate the remaining analog buttons.

Is anyone able to help or point me in the right direction in accessing the PS2 controller?

Thxs.
Back to top
View user's profile Send private message MSN Messenger
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Thu Apr 08, 2004 9:55 am    Post subject: Reply with quote

You have to set the controller into analog mode. I can't remember how off the top of my head but there is an example in ps2lib that shows.
_________________
Shoot Pixels Not People!
Makeshift Development
Back to top
View user's profile Send private message Visit poster's website
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Thu Apr 08, 2004 10:10 am    Post subject: Reply with quote

He wants the hardware protocol re: analog mode, so the ps2lib sample won't help him much.

However ... Drakonite, maybe the sio2log irx should make it into ps2drv?
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 -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
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