From db1f948afbc47bded979603450bff53870047158 Mon Sep 17 00:00:00 2001 From: Ove Kaaven Date: Sun, 28 Jan 2001 23:43:20 +0000 Subject: [PATCH] Don't disable keyboard autorepeat, since autorepeat is now detectable. --- dlls/dinput/keyboard/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dlls/dinput/keyboard/main.c b/dlls/dinput/keyboard/main.c index 698436b0084..01edb970cf8 100644 --- a/dlls/dinput/keyboard/main.c +++ b/dlls/dinput/keyboard/main.c @@ -172,14 +172,16 @@ static HRESULT WINAPI SysKeyboardAImpl_Acquire(LPDIRECTINPUTDEVICE2A iface) TRACE("(this=%p)\n",This); if (This->acquired == 0) { +#if 0 KEYBOARD_CONFIG no_auto; /* Save the original config */ USER_Driver.pGetKeyboardConfig(&(This->initial_config)); - + /* Now, remove auto-repeat */ no_auto.auto_repeat = FALSE; USER_Driver.pSetKeyboardConfig(&no_auto, WINE_KEYBOARD_CONFIG_AUTO_REPEAT); +#endif This->acquired = 1; }