오큘러스 입력
XR API 레퍼런스

Daydream Controllers

Unity natively supports the Daydream Controller, and uses the UnityEngine.Input to read the axis and button values from the controller. Tracking data for the Daydream Controller is exposed via the XRNode system.

명명 규칙 및 감지

When properly configured and connected to the Android device, the Daydream Controller appears in the list that UnityEngine.Input.GetJoystickNames returns. It appears as the Daydream Controller - Right or Daydream Controller - Left, depending on the Daydream controller’s handedness setting (in the Daydream application settings).

Unity Input System Mappings

Hardware Feature Unity Button ID Unity 축 ID Unity Axis Value When Pressed
1 - TouchPad Vertical 해당 없음 Left - Axis 1
Right - Axis 4
–1 is up, 1 is down
1 - TouchPad Horizontal 해당 없음 Left - Axis 2
Right - Axis 5
–1 is left, 1 is right
1 - TouchPad Touch Left - Button 18
Right - Button 19
해당 없음
1 - TouchPad Click Left - Button 16
Right - Button 17
해당 없음
2 - App Button Left - Button 2
Right - Button 0
해당 없음
3 - Menu (Reserved) 해당 없음 해당 없음
5 - Volume (Reserved) 해당 없음 해당 없음
오큘러스 입력
XR API 레퍼런스