summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_wine
diff options
context:
space:
mode:
Diffstat (limited to 'ftnoir_protocol_wine')
-rw-r--r--ftnoir_protocol_wine/opentrack-wrapper-wine-main.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/ftnoir_protocol_wine/opentrack-wrapper-wine-main.cxx b/ftnoir_protocol_wine/opentrack-wrapper-wine-main.cxx
index 47e53eb7..d5d03011 100644
--- a/ftnoir_protocol_wine/opentrack-wrapper-wine-main.cxx
+++ b/ftnoir_protocol_wine/opentrack-wrapper-wine-main.cxx
@@ -61,8 +61,8 @@ int main(void)
break;
}
lck_wine.lock();
- data->Yaw = shm_posix->data[Yaw];
- data->Pitch = shm_posix->data[Pitch];
+ 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];