Skip to content

Gyroscope Variables

DMJC edited this page Oct 15, 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

These values are stored in 24 byte offsets. Each block of 24 is a complete set of sensor data. There are 4 sets of sample data in a standard 155 byte array. The system likely averages the data points. When printed out a pattern emerges on the 0/1 rapid switching variables they print out as 0 1 0 1. The dataset is repeated.

Axis/Accelerometer Values

Location Values/Range Description Purpose/Notes
30-31 0 or 1 Rapidly switching between 1 and 0 Likely an Index Value
32-33 -32767 - +32767 Random Value
34-35 -9000 - +9000 Timer Value Increments every 0.1 seconds
36-37 -9000 - +9000 Pitch Up/Down Up in any direction is positive, straight up is 9000, down in any direction 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
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 an Index Value - First Repeat
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 -9000 - +9000 Headset Upright Negative when you look up further than 90 degrees or look down and behind. 9000 when straight in any direction.
66-67 -9000 - +9000 Accel Roll Tracks acceleration of Roll Left/Right in any Direction.
68-69 -9000 - +9000 Accel Pitch Tracks Acceleration of Pitch Change
70-71 -9000 - +9000 Accel Yaw Left/Right Tracks Acceleration of Yaw Left/Right
72-73 +32767 - -32767 Timer Value Decrements at 0.01 Seconds
74-75 +32767 - -32767 Rapid Numbers Seems to be a randomly rapidly changing Value, need to investigate. (might be part of 72-73)
76-77 +32767 - -32767 Rapid Numbers Seems to be a randomly rapidly changing Value, need to investigate. (might be part of 74-75)
78-79 0 or 1 Rapidly switching between 1 and 0 Likely an Index Value - Second Repeat
80-81 +32767 - -32767 Rapid Numbers Unknown
82-83 +32767 - -32767 Rapid Numbers Unknown
84-85 -9000 - +9000 Pitch Up/Down Down is -9000 Up is 9000 straight in any direction is 0
86-87 -9000 - +9000 Roll Left/Right Left is -9000 right is +9000 straight in any direction is 0
88-89 -9000 - +9000 Orientation Roll Left is Zero, Roll Right is Zero, Look Up is Zero, Look Down is Zero, Straight in any direction is 9000
90-91 -9000 - +9000 Roll Accel Measures Roll Left/Roll Right Acceleration. Fast Left -9000 Fast right 9000
92-93 -9000 - +9000 Pitch Accel Measures Up/Down Pitch Acceleration. Fast Up -9000 Fast Down +9000
94-95 -9000 - +9000 Yaw Accel Measures Left/Right Turn Acceleration. Fast left +9000 Fast Right -9000
96-97 +32767 - -32767 Counter Value Decrements every 0.01s
98-99 +32767 - -32767 Rapid Numbers Rapid Random numbers, might be connected to 96-97
100-101 +32767 - -32767 Rapid Numbers Rapid Random numbers, might be connected to 98-99
102-103 0 or 1 Rapidly switching between 1 and 0 Likely an Index Value - Third Repeat
104-105 +32767 - -32767 Rapid Numbers Rapid Random numbers could be a fast countdown
106-107 +32767 - -32767 Rapid Decrementer Counting down at a fast rate.
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