[PATCH 2/2] dinput: Handle multiple keyboard and mouse devices.

Vitaliy Margolen wine-patches at kievinfo.com
Sun Jun 10 20:20:23 CDT 2007


Should fix bug 7129.

The whole idea here is to set/release hook only once for keyboard/mouse.
Then if we have more then one device, just call their hook handlers from the single
top level handler.
---
 dlls/dinput/dinput_main.c    |   82 ++++++++++++++++++++++++++++++++++++++---
 dlls/dinput/dinput_private.h |    4 ++-
 dlls/dinput/keyboard.c       |   54 ++++++---------------------
 dlls/dinput/mouse.c          |   28 ++------------
 4 files changed, 95 insertions(+), 73 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 48ad5a05eb1f6bb5bc31e2245cf533b92c658195.diff
Type: text/x-patch
Size: 12134 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070610/8132be18/48ad5a05eb1f6bb5bc31e2245cf533b92c658195-0001.bin


More information about the wine-patches mailing list