Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
VRTouchpadMode
Used to identify the behavior of a specified VR touchpad.
Items
| Name | Value | Description |
|---|---|---|
| Touch | 0 | The touchpad is treated as ButtonB if it is the left touchpad, or ButtonA if it is the right touchpad. |
| VirtualThumbstick | 1 | The touchpad will function as a gamepad joystick. |
| ABXY | 2 | The touchpad will function as a means of inputting the standard ABXY gamepad input, dividing it up into 4 diagonal pie slices. |
Touch
The touchpad is treated as ButtonB if it is the left touchpad, or ButtonA if it is the right touchpad.
| Field | Value |
|---|---|
| value | 0 |
VirtualThumbstick
The touchpad will function as a gamepad joystick.
| Field | Value |
|---|---|
| value | 1 |
ABXY
The touchpad will function as a means of inputting the standard ABXY gamepad input, dividing it up into 4 diagonal pie slices.
| Field | Value |
|---|---|
| value | 2 |