图片中 纯数字表示Unity中对应的Button,例如
if (Input.GetKey(KeyCode.Joystick1Button7)) { print("btn 7"); }
图片中 axis结尾表示Unity中对应的axis,例如
print ( Input.GetAxis( "X axis" ) );
注意 , 使用前需要在 InputManager中进行自定义的设置
这张图片 的对应关系:
6 - L1
7 - R1
8 - L2
9 - R2