This is still a preliminary patch but now working better with programs that
do not poll for new mouse events.
Use separate thread to poll mouse messages, instead of relaying on the app
to do so.
Use explorer to enumerate all mice devices. Unfortunately msdn says there can only
be one system pointer device.
---
dlls/dinput/Makefile.in | 1 +
dlls/dinput/dinput_main.c | 1 +
dlls/dinput/dinput_private.h | 1 +
dlls/dinput/mouse_evdev.c | 826 ++++++++++++++++++++++++++++++++++++++++++
programs/explorer/hal.c | 42 +++
5 files changed, 871 insertions(+), 0 deletions(-)
create mode 100644 dlls/dinput/mouse_evdev.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cf50549e67646b8529de4ff458045581bad04352.diff
Type: text/x-patch
Size: 31399 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070904/3c6076a2/cf50549e67646b8529de4ff458045581bad04352-0001.bin