【PS4开发】unity3d ps4手柄键位

●按钮

Square = joystick button 0

X = joystick button 1
Circle = joystick button 2
Triangle= joystick button 3
L1 = joystick button 4
R1 = joystick button 5
L2 = joystick button 6
R2 = joystick button 7
Share = joystick button 8
Options = joystick button 9
L3 = joystick button 10
R3 = joystick button 11
PS = joystick button 12
PadPress= joystick button 13

●轴

LeftStickX = X-Axis
LeftStickY = Y-Axis
RightStickX = 3rd Axis
RightStickY = 4th Axis
L2 = 5th Axis (-1.0f to 1.0f range, unpressed is -1.0f)
R2 = 6th Axis (-1.0f to 1.0f range, unpressed is -1.0f)
DPadX = 7th Axis

DPadY = 8th Axis


如图:

【PS4开发】unity3d ps4手柄键位_第1张图片

你可能感兴趣的:(unity3d,ps4,游戏开发踩坑记录)