Prof-Butts / Hook_XWACockpitLook

X-Wing Alliance mouse hook with support for VR head-tracking
6 stars 1 forks source link

Tracking using GetLastPoses() #2

Closed morallo closed 4 years ago

morallo commented 4 years ago

Instead of calling GetDeviceToAbsoluteTracking() with an arbitrary prediction time, rely on WaitGetPoses/GetLastPoses which use variable "running start" timing for calculating the right prediction.

This requires an update in ddraw.dll (https://github.com/Prof-Butts/xwa_ddraw_d3d11/pull/26)