http://bugs.winehq.org/show_bug.cgi?id=8320
hoof@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID |
------- Additional Comments From hoof@users.sourceforge.net 2007-08-05 17:41 ------- Microsoft's docs say this: "The system time returned in dwTimeStamp comes from the same clock used by the Microsoft Win32GetTickCount or timeGetTime functions, but it produces potentially more precise values. For example, on Microsoft Windows 95, the GetTickCount timer is updated only every 55 milliseconds, but the dwTimeStamp value is accurate to within 1 millisecond. Therefore, if you call GetTickCount and it returns n, and you then receive an event with a timestamp of n + n1, you cannot assume that the event took place exactly n1 milliseconds after the call to GetTickCount."
Your timestamps differ from GetTickCount by my system uptime. GetTickCount will say something like 20000 milliseconds and the joystick timestamp will be 80000000. You aren't off by 55 milliseconds, you are giving timestamps that are a day into the future.