stick:
1000+(joystick*100)+(stick*10)+(axis)+(5 if d2)

button:
1000+(joystick*100)+50+btn