Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Common deadzones and axis map for Xbox 360 and PS3 controller  (Read 4666 times)

0 Members and 2 Guests are viewing this topic.

Pixel_Outlaw

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
Common deadzones and axis map for Xbox 360 and PS3 controller
« on: November 11, 2014, 12:03:55 am »
Hello all,

I need to add joystick support in my game and I know that joystick manufacturers handle controllers very differently. I don't have a PS3 and Xbox 360 joystick to test with.

Can anyone tell me what axis is mapped to each part of the controllers and what buttons are which?
Also what the expected deadzone is for these.

G.

  • Hero Member
  • *****
  • Posts: 1593
    • View Profile
Re: Common deadzones and axis map for Xbox 360 and PS3 controller
« Reply #1 on: November 11, 2014, 01:19:02 am »
On my X360 gamepad

Buttons:

A 0
B 1
X 2
Y 3
LB 4
RB 5
back 6
start 7
L (left stick) 8
R (right stick) 9

Axis:

left stick
left - X
right + X
up - Y
down + Y

right stick
left - U
right + U
up - R
down + R

D-pad
left - povX
right + povX
up + povY
down - povY

Triggers
LT + Z
RT - Z
(yeah triggers are on the same axis :( )

Pixel_Outlaw

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
Re: Common deadzones and axis map for Xbox 360 and PS3 controller
« Reply #2 on: November 12, 2014, 05:24:06 am »
Thanks G. anyone know roughly the deadzones?

G.

  • Hero Member
  • *****
  • Posts: 1593
    • View Profile
Re: Common deadzones and axis map for Xbox 360 and PS3 controller
« Reply #3 on: November 12, 2014, 05:07:50 pm »
There isn't a deadzone. If you want one you have to do it yourself.

 

anything