diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-10-29 05:42:39 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-10-29 05:42:39 +0100 |
commit | 502c95b5e521b1f3d10d06064d777345dcf6e25a (patch) | |
tree | 6fdce50cf63f270c120a5d622d128da98a3df368 /ftnoir_protocol_wine | |
parent | ea0eb13a5b37811c0a597c78241401e52bb4972e (diff) |
wine protocol needs sign change like ft does
Diffstat (limited to 'ftnoir_protocol_wine')
-rw-r--r-- | ftnoir_protocol_wine/opentrack-wrapper-wine-main.cxx | 4 |
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]; |