Putting robotics at your service™

Free shipping on orders over $200

Dualshock commands.

Print view Share :
Previous topicNext topic

Page 1 of 1 [ 4 posts ]

User avatar
Guru ( offline )
Posts: 3300
Posted: 2009-10-11 18:04 
 Post subject: Dualshock commands.
I wish to expand my PS2 controller by using all the buttons. (kinda ran out :lol: )
thanks for helping..
For anyone else interested.

DualShock(0) ;analog

(DualShock(1).bit0 = ;Select Button test
(DualShock(1).bit1 = ;L3 Button test
(DualShock(1).bit2 = ;R3 Button test
(DualShock(1).bit3 = ;Start Button test
(DualShock(1).bit4 = ;Up Button test
(DualShock(1).bit5 = ;Right button test
(DualShock(1).bit6 = ;Down Button test
(DualShock(1).bit7 = ;Left button test

(DualShock(2).bit0 = ;L2 Button test
(DualShock(2).bit1 = ;R2 Button test
(DualShock(2).bit2 = ;L1 Button test
(DualShock(2).bit3 = ;R1 Button test
(DualShock(2).bit4 = ;Triangle Button test
(DualShock(2).bit5 = ;Circle Button test
(DualShock(2).bit6 = ;Cross Button test
(DualShock(2).bit7 = ;Square Button test

DualShock(3) ;Right stick horz
DualShock(4) ;Right stick vert
DualShock(5) ;Left stick horz
DualShock(6) ;Left stick vert

_________________
Jonny Poole,
Freelance Concept Art & Animatronics, 3D Art and 3D Modelling, as well as Physical Modelling, Mechanical design, and illustration.
http://www.innerbreed.co.uk
Create, Innovate, Inspire.


Last edited by innerbreed on 2009-10-12 16:07, edited 3 times in total.

User avatar
Guru ( offline )
Posts: 4920
Posted: 2009-10-11 19:14 
 Post subject: Re: Dualshock commands.
Here is a link to a site that I use when I want to lookup stuff about the PS2 controller: http://www.curiousinventor.com/guides/ps2

Kurt


User avatar
Guru ( offline )
Posts: 4126
Posted: 2009-10-11 19:29 
 Post subject: Re: Dualshock commands.
Try these:

innerbreed wrote:
I wish to expand my PS2 controller by using all the buttons. (kinda ran out :lol: )
can anyone fill in the gaps?

DualShock(0) ;? think this is analog? MODE

(DualShock(1).bit0 = ;Select Button test
(DualShock(1).bit1 = ;L3 Button test

(DualShock(1).bit2 = ;? HORN
(DualShock(1).bit3 = ;Start Button test
(DualShock(1).bit4 = ;Up Button test

(DualShock(1).bit5 = ;? Right button test gait
(DualShock(1).bit6 = ;Down Button test

(DualShock(2).bit0 = ;L2 Button test
(DualShock(2).bit1 = ;R2 Button test
(DualShock(2).bit2 = ;L1 Button test
(DualShock(2).bit3 = ;R1 Button test
(DualShock(2).bit4 = ;Triangle Button test
(DualShock(2).bit5 = ;Circle Button test
(DualShock(2).bit6 = ;Cross Button test
(DualShock(2).bit7 = ;Square Button test


i know these are J/Stick commands but confused about Lstick or Rstick
DualShock(3) ;? Right stick horz : YSpeed
DualShock(4) ;? Right stick vert : XSpeed
DualShock(5) ;? Left stick horz : Steering
DualShock(6) ;?
Left stick vert : height


Alan KM6VV

_________________
Visit:
http://groups.yahoo.com/group/SherlineCNC/
http://tech.groups.yahoo.com/group/HexapodRobotIK/


User avatar
Guru ( offline )
Posts: 3300
Posted: 2009-10-11 19:40 
 Post subject: Re: Dualshock commands.
kurte wrote:
Here is a link to a site that I use when I want to lookup stuff about the PS2 controller: http://www.curiousinventor.com/guides/ps2

Kurt


thank you for adding this link. very useful.

thanks alan, i have updated the list.

_________________
Jonny Poole,
Freelance Concept Art & Animatronics, 3D Art and 3D Modelling, as well as Physical Modelling, Mechanical design, and illustration.
http://www.innerbreed.co.uk
Create, Innovate, Inspire.


 

All times are UTC - 5 hours [ DST ]. It is currently 2014-11-28 05:33
Feedback Form
Feedback Form