Definitions
There are many constants used throughout the TVR project. Below, you can find an overview of them.
Steam VR
- Universe ID:
0x02 0x16 0x39 0xA0=2688095746
Networking ports
- Server ⇄ Driver:
20156 - Server ⇄ Tracker (Broadcast):
20157 - Server ⇄ Tracker (Unicast):
20158
Protocol definitions
- All multi-byte integer values are little-endian
- Packets longer than 4 KB (4096 bytes) are not accepted by any endpoint
vec3: 3 sequential 32-bit floating-point values in order[x, y, z]that encode a 3D vectorvec4: 4 sequential 32-bit floating-point values in order[x, y, z, w]that encode a quaterniontype[]: Array of objects, is prefixed by a[uint8 length]that specifies the number of objects in the array.string: Null-terminated, ASCII-encoded string
Button IDs
0: A1: B2: Up3: Left4: Right5: Down6: Menu7: Trigger8..15: reserved