Don't disable keyboard autorepeat, since autorepeat is now detectable.
This commit is contained in:
parent
15a525973b
commit
db1f948afb
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue