- Home /
Unity Android and XPeria Play
How do you access the custom device buttons on the Xperia Play via Unity Android?
Answer by Paulius-Liekis · Apr 12, 2011 at 08:16 AM
Input.GetKey (KeyCode.LeftShift) = Left shoulder Input.GetKey (KeyCode.RightShift) = Right shoulder
Input.GetKey (KeyCode.UpArrow) = Up Input.GetKey (KeyCode.LeftArrow) = Left Input.GetKey (KeyCode.RightArrow) = Right Input.GetKey (KeyCode.DownArrow) = Down
Input.GetKey ("joystick button 2") = /\ Input.GetKey ("joystick button 1") = [] Input.GetKey ("joystick button 3") = O Input.GetKey ("joystick button 0") = X
Input.GetKey (KeyCode.Pause) = SELECT Input.GetKey (KeyCode.Return) = START
AndroidInput = TouchPad
Your answer
Follow this Question
Related Questions
Mobile device screen sizes 4 Answers
Gap in audio playback on Android 1 Answer
Mobile aspect ratio and scaling - Use 16:10 or 16:9 base for full screen background ? 0 Answers
sensor temperature android 0 Answers
Mobile Device Video Camera 1 Answer