LoginSignup
0
1

More than 1 year has passed since last update.

UnityでのSwitch Pro コントローラーのボタン番号チートシート

Last updated at Posted at 2021-06-28

Sadmachineです.

UnityでSwitchのProコントローラーが使いたくなり,Controller Testerを使用してProコンのボタン番号を調べてみました.

image
画像出典:Nintendo公式HP

UnityでのSwitch Pro コントローラーのボタン番号

ボタン 番号
A 0 Positive
B 1 Positive
Y 2 Positive
X 3 Positive
L 4 Positive
R 5 Positive
ZL 6 Positive
ZR 7 Positive
+ 8 Positive
- 9 Positive
Lスティックボタン 10 Positive
Rスティックボタン 11 Positive
HOMEボタン 12 Positive
キャプチャーボタン 13 Positive
スティック 番号
Lスティック→ 2 Positive
Lスティック← 2 Negative
Lスティック↓ 4 Positive
Lスティック↑ 4 Negative
Rスティック→ 7 Positive
Rスティック← 7 Negative
Rスティック↓ 8 Positive
Rスティック↑ 8 Negative
十字キー→ 9 Positive
十字キー← 9 Negative
十字キー↑ 10 Positive
十字キー↓ 10 Negative

Positiveは+,Negativeは-で入出力されます.

参考になったらLGTMお願いします!

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1