[PATCH 2/2] dinput: Don't use event times, report currect tick count instead.

Vitaliy Margolen wine-patches at kievinfo.com
Thu Feb 14 01:18:51 CST 2008


Some programs break when they see out of order events. It appears that
native dinput ignores event time and uses current tick count instead.
Do the same in Wine.

This might apply to keyboard and joystick but is pretty hard to test. 
Injected mouse events only help to a point. Wine does not scale axes same 
way as native does which makes it pretty hard to write tests for this. And 
of course there are no injected joystick events to test with.

---
  dlls/dinput/mouse.c |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 994923138ed3298776300d1577f5830182d48744.diff
Type: text/x-patch
Size: 1211 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080214/218272ea/attachment.bin 


More information about the wine-patches mailing list