Skip to content

Gyroscope Variables

DMJC edited this page Oct 14, 2024 · 58 revisions

Headset Gyroscope Variables

These values are populated by sending interrupt requests to interface 8 on the headset. The headset returns a hex string which is then broken up into an array. The array can vary in length 131, 155, 203, 227, 683, 1019, the most common length is 155. Longer values than 203 seem to have 0s and no data in them. Values seem to be 16-bit unsigned Integers. from -9000 to +9000.

Button Values

Location Values/Range Description Purpose/Notes
0 0 or 1 (1 is on) Video In Tracks if the headset is Receiving Video Input
1 0 or 1 (1 is on) Head Tracks if the headset is on your Head or not
2 0 or 1 (1 is on) Button Tracks if the headset button is pressed

Axis/Accelerometer Values

Location Values/Range Description Purpose/Notes
32-33 Unknown Test
34-35 -9000 - +9000 Timer Value Increments every 0.1 seconds
36-37 -9000 - +9000 Pitch Up/Down Up is Positive Down is Negative
38-39 -9000 - +9000 Roll Left/Right Left is Negative, Right is positive.
40-41 -9000 - +9000 Upright/Upside Down Forward is 9000, Up/Down are 0, Upside Down is -9000
Acceleration Values
42-43 -9000 - +9000 Accel Roll Left is -ve Right is +ve, Measures speed of change
44-45 -9000 - +9000 Accel Pitch Up is -ve down is +ve, Measures speed of change.
46-47 -9000 - +9000 Accel Left/Right Left is +ve Right is -ve Measures speed of change
48-49 -9000 - +9000 Timer Value Increments every 0.01 seconds
50-51 ~200 - ~2000 Unknown Seems to be a randomly rapidly changing Value, need to investigate.
52-53 -32767 - +32767 Rapidly Changing Value Likely tracks a state
54-55 0 or 1 Rapidly switching between 1 and 0 Likely tracks a state
56-57 -32767 - +32767 Random Value
58-59 -32767 - +32767 Counter Value Increments every 0.1 seconds
60-61 -9000 - +9000 Pitch Up/Down Up in any direction is positive, straight up is 9000, down in any direction is negative
62-63 -9000 - +9000 Roll Left/Right Roll Left/Right in any direction, left -9000, right +9000, up is 0 down is 0.
64-65 Looking Up/Back Negative when you look up further than 90 degrees
66-67 Static Value of 0 Likely tracks a state or end of group
68-69 Accel Pitch Tracks Acceleration of Pitch Change
70-71 Accel Yaw Left/Right Tracks Acceleration of Yaw Left/Right
72-73 Counter Increments
74-75 Static Value of 0 Likely tracks a state or end of group
76-77 Counter Fast Increments quickly
78-79 Unknown Test
80-81 Unknown Test
82-83 Unknown Test
84-85 Pitch Up/Down Test
86-87 Roll Left/Right Test
88-89 Roll Upside/Down Test
90-91 Roll Accel Measures Roll Left/Roll Right Acceleration.
92-93 Pitch Accel Measures Up/Down Pitch Acceleration.
94-95 Yaw Accel Measures Left/Right Turn Acceleration.
96-97 Unknown Test
98-99 Unknown Test
100-101 Unknown Test
102-103 Unknown Test
104-105 Unknown Test
106-107 Unknown Test
108-109 Pitch Value Test
110-111 Roll Value Test
112-113 Roll Value Test
114-115 Accel Value Test
116-117 Accel Value Test
118-119 Accel Value Test
120-121 Incrementer Test
122-123 Unknown Test
124-125 Unknown Test
126-127 Unknown Test
128-129 Unknown Test

Clone this wiki locally