How to detect if Playstation Controller?

How can I detect if the connected controller is a Playstation or an Xbox One/360 Controller? So I can show the X button for playstation instead of A button for XBOX so the user won’t be confused?

2 Likes

Use ContextActionService and check for input type.

1 Like

I looked at it but how can I detect the keypress? I looked at Enum.KeyCode but there isn’t any playstation buttons. How can I detect those?

Xbox controls have the same controls for Playstation but just different letters
download
download (1)

1 Like

triangle = Y, x = square, A = x, B = O

4 Likes

Basically you would use the same thing for an xbox and playstation controller.

1 Like