Don't disable keyboard autorepeat, since autorepeat is now detectable.

This commit is contained in:
Ove Kaaven 2001-01-28 23:43:20 +00:00 committed by Alexandre Julliard
parent 15a525973b
commit db1f948afb
1 changed files with 3 additions and 1 deletions

View File

@ -172,14 +172,16 @@ static HRESULT WINAPI SysKeyboardAImpl_Acquire(LPDIRECTINPUTDEVICE2A iface)
TRACE("(this=%p)\n",This); TRACE("(this=%p)\n",This);
if (This->acquired == 0) { if (This->acquired == 0) {
#if 0
KEYBOARD_CONFIG no_auto; KEYBOARD_CONFIG no_auto;
/* Save the original config */ /* Save the original config */
USER_Driver.pGetKeyboardConfig(&(This->initial_config)); USER_Driver.pGetKeyboardConfig(&(This->initial_config));
/* Now, remove auto-repeat */ /* Now, remove auto-repeat */
no_auto.auto_repeat = FALSE; no_auto.auto_repeat = FALSE;
USER_Driver.pSetKeyboardConfig(&no_auto, WINE_KEYBOARD_CONFIG_AUTO_REPEAT); USER_Driver.pSetKeyboardConfig(&no_auto, WINE_KEYBOARD_CONFIG_AUTO_REPEAT);
#endif
This->acquired = 1; This->acquired = 1;
} }