Skip to main content

Appendix - Button Index Mapping

This section cover the button index mapping used in General Event - Controller Press and Controller Release block.

The following table show the mapping of the common controller use in XR.

tip

In XRCC PC, you can use Mouse Left Click (index 0), Mouse Right Click (index 1), and Mouse Middle Click (index 2) to simulate controller press.

IndexXboxHTC VIVEValve IndexOculus RiftSamsung Odyssey+
0
A
Trigger
Trigger
Trigger
Trigger
1
B
Grip
Grip
Grip
Grip
2
Y
Menu
A
A/X
Menu
3
X
Touchpad (Trackpad)
Touchpad (Trackpad)
B/Y
Touchpad (Trackpad)
4
LB (Left Bumper)
B
Joystick (Thumbstick)
Joystick (Thumbstick)
5
RB (Right Bumper)
Joystick (Thumbstick)
6
Back
7
Start
8
LS (Left Stick)
9
RS (Right Stick)
10
Left (DPad Left)
11
Right (DPad Right)
12
Up (DPad Up)
13
Down (DPad Down)

Xbox ControllerSamsung Odyssey
BehaviourOverview1
BehaviourOverview1
HTC VIVE/VIVE ProValve Index
BehaviourOverview1
BehaviourOverview1
Oculus Rift
BehaviourOverview2