On So, 2007-06-10 at 19:20 -0600, Vitaliy Margolen wrote:
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(-)
Works the same as native dinput. Thanks a lot.
The sensitive high-speed Mouse-Accellerator for the RMB is also present with native dinput.
I will add a new bug for that regression. Any Ideas, where to search? ("dlls/" or "dlls/winex11.drv/")
As additional hint, the moving direction is most times fixed: When i start moving up/right (45*) while the RMB id pressed, then the app still see 45* when I move the mouse in a different direction (down or left as examples). Looks like a value is not reset.