dinput: Handle multiple keyboard and mouse devices. Get rid of
the message window. [resend]
Vitaliy Margolen
wine-devel at kievinfo.com
Sun Jun 17 10:25:43 CDT 2007
Please don't apply this patch. I will need to change few more things that
will affect parts of this patch.
Vitaliy.
Vitaliy Margolen wrote:
> Please use this one instead. The other patch had accidentally escaped debug
> statements.
>
> Fixes 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.
>
> Also, since we don't really check the return status from setting the
> hook itself
> get rid of the message window. Just notify the thread it needs to
> recheck device
> lists and set/remove hooks.
>
> ---
> dlls/dinput/dinput_main.c | 234
> +++++++++++++++++++++++++-----------------
> dlls/dinput/dinput_private.h | 3 +-
> dlls/dinput/keyboard.c | 54 ++--------
> dlls/dinput/mouse.c | 28 +-----
> 4 files changed, 156 insertions(+), 163 deletions(-)
>
>
> ------------------------------------------------------------------------
>
>
More information about the wine-devel
mailing list