PS3 Controller analog wiring (mod)

Hey there,
So basically I got to mod one of my old PS3 controller, I need to get those analog to act as directional switches, i.e analogs being “physically” permanently engaged in a direction (any) but signal should be sent only by triggering an external button (like a classic 30mm sanwa).

Example :
1 - I “choose” to engage them to the right direction
2 - Nothing happens on the screen (External button not pressed)
3 - I press the external button and BAM ! My character is straffing to the right (example for a FPS game)
4 - As soon as I release the external button, the character goes neutral

I had a look at slagcoin’s : http://www.slagcoin.com/joystick/pcb_wiring.html
Yet I can’t figure out how to do this !

Maybe can you help me ?
Seeya ! :wink:

wire the middle pin of the analog stick pot to one side of a button switch and wire the outer pin of the pot to the other side of the button. That will do one direction. Repeat with the middle pin and the other outer pin to another button for the opposite direction. Repeat for the other analog pot for the other two directions.

Oh, as simple as that ? Hehe I’m gonna give it a try ,
Cheers Gummo !

Hi again !

So, after some tests, I can’t make it work.
To summerise, I am working on an “old” Sixaxis PS3 PCB.
When connecting the controller with the left analog removed to the PS3, it starts acting crazy (not neutral, might be normal).
Even connecting the external button doesn’t seem to put it in neutral position.

Gummo, is that the kind of wiring you are telling me to do ? (No extra resistor or such ?)
Example for left analog only, for a diagonal switch

Maybe my wiring is wrong, I don’t know ???

If you’re removing the existing analog modules, you WILL have to neutralize it with resistors.

THEN wire up your button (you don’t need to connect to both Vcc or Ground lines like your red wire in the pic, just one will do).

Have a look at my new drawing, is it correct ? (Still for the left side only, blue are resistors)

If so, do you know what resistance value would fit best the Sixaxis ? I have some 4,99k in stock

That looks about right.
I dunno about “best” resistance to use, but people generally use 10kOhm.

One thing that is important to note with this basic setup is that you don’t press the opposing directions together at the same time. You’ll end up shorting the analog voltage source directly to ground which is no good and will cause damage one way or another.

So other words fine for a joystick, bad for a hit box? Would a SOCD filter even work in this application Gumo?

Well, I’m following FreedomGundam’s advice, by wiring one voltage source and one ground (ends up with one button triggering one direction among the four possible) should be good enough right ?

Nope, an SOCD wouldn’t help in this kind of situation.
A SOCD cleaner takes what’s physically pressed as an input, and grounds the appropriate signal based one what’s supposed to happen.
The difference in this case with SOCD would be two-fold: one is that the issue comes from the physical electrical connections made (not how the system/software is interpreting them), and the other would be that for some directions, you’re connecting the signal line with Vcc rather than Ground.
Some sort of cleaner can definitely be made for this, but a standard SOCD cleaner wouldn’t do job.

You’re only using one direction, right? Then there should be problems.

Well, if I’m going to wire as my previous diagram (one red, one black and resistors) then it’s gonna be one direction : up, down, left or right depending on the pot, which is either for the X axis or the Y axis and which end (top or botton one) am I going to wire.

So, is there any possibilities to get over that ?

Yeah. What we were saying is that it’s perfectly fine (and mostly-foolproof) if all you want to wire up is ONE single direction (regardless of which one it is). The trickier part is if you wanted to wire up, say, BOTH Left and Right, and/or BOTH Up and Down.

You can definitely get around it, however, some some custom-modified SOCD-inspired chip/board/code.

I get the point. Fortunately I only need to “simulate” a joystick flick, regardless of the direction so the simplier, the better :slight_smile: