Don't restore the saved keyboard autorepeat config, since the config
save code itself was disabled a while ago...
This commit is contained in:
parent
a9ea8574d4
commit
b18220a8b2
|
@ -195,8 +195,10 @@ static HRESULT WINAPI SysKeyboardAImpl_Unacquire(LPDIRECTINPUTDEVICE2A iface)
|
||||||
TRACE("(this=%p)\n",This);
|
TRACE("(this=%p)\n",This);
|
||||||
|
|
||||||
if (This->acquired == 1) {
|
if (This->acquired == 1) {
|
||||||
|
#if 0
|
||||||
/* Restore the original configuration */
|
/* Restore the original configuration */
|
||||||
USER_Driver.pSetKeyboardConfig(&(This->initial_config), 0xFFFFFFFF);
|
USER_Driver.pSetKeyboardConfig(&(This->initial_config), 0xFFFFFFFF);
|
||||||
|
#endif
|
||||||
This->acquired = 0;
|
This->acquired = 0;
|
||||||
} else {
|
} else {
|
||||||
ERR("Unacquiring a not-acquired device !!!\n");
|
ERR("Unacquiring a not-acquired device !!!\n");
|
||||||
|
|
Loading…
Reference in New Issue