As I understand it, you are trying to use the "vrjoystick" function. The "id" parameter, as mentioned in the documentation, is 1-based, which means it is an integer. If there are multiple joysticks, they might be assigned IDs 1, 2, 3, etc., depending on the order in which they were connected or recognized by the system. You can refer to the documentation below for details about "vrjoystick" properties:
This typically means that the command "vrjoystick(1)" can be used to create a joystick object.
Hope this helps!