2015年3月26日木曜日

AndroidなUnityのGamepad for Nexus Player キーアサイン

環境

Unity 5.0.0p2
Nexus 5(Android 5.1)

キーアサイン

joystick button 0(Fire1)
A
joystick button 1(Fire2)
B
joystick button 2(Fire3)
X
joystick button 3(Jump)
Y
joystick button 4
L1
joystick button 5
L2
X axis
Analog Stick Left ←→
Y axis
Analog Stick Left ↑↓
3rd axis
Analog Stick Right ←→
4th axis
Analog Stick Right ↑↓
5th axis
←→
6th axis
↑↓
7th axis
L2
8th axis
R2

因にペアリングをクリアして他の端末とペアリングしたい時は
電源ONの状態で「戻る」ボタンと「ホーム」ボタンを押しながら
「電源」ボタンを長押しのようです。
そうするとLEDx4が点滅に変わってペアリング待ちの状態になりました。

Unity Remote 4経由でゲームパッドの入力取れたらデバッグ楽かな
と思って試してみたけど出来ないようです。