summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_wine/opentrack-wrapper-wine-main.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ftnoir_protocol_wine/opentrack-wrapper-wine-main.cxx')
-rw-r--r--ftnoir_protocol_wine/opentrack-wrapper-wine-main.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/ftnoir_protocol_wine/opentrack-wrapper-wine-main.cxx b/ftnoir_protocol_wine/opentrack-wrapper-wine-main.cxx
index 39bef955..8f8a2fb2 100644
--- a/ftnoir_protocol_wine/opentrack-wrapper-wine-main.cxx
+++ b/ftnoir_protocol_wine/opentrack-wrapper-wine-main.cxx
@@ -53,9 +53,9 @@ int main(void)
break;
}
lck_wine.lock();
- data->Yaw = shm_posix->data[RX];
- data->Pitch = shm_posix->data[RY];
- data->Roll = shm_posix->data[RZ];
+ data->Yaw = shm_posix->data[Yaw];
+ data->Pitch = shm_posix->data[Pitch];
+ data->Roll = shm_posix->data[Roll];
data->X = shm_posix->data[TX];
data->Y = shm_posix->data[TY];
data->Z = shm_posix->data[TZ];