Don't disable keyboard autorepeat, since autorepeat is now detectable.
This commit is contained in:
parent
15a525973b
commit
db1f948afb
|
@ -172,6 +172,7 @@ 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 */
|
||||
|
@ -180,6 +181,7 @@ static HRESULT WINAPI SysKeyboardAImpl_Acquire(LPDIRECTINPUTDEVICE2A iface)
|
|||
/* 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