dinput patch

Ove Kaaven ovehk at ping.uio.no
Sun Apr 15 11:49:10 CDT 2001


I fixed this problem with the dinput keyboard autorepeat long ago but
didn't submit it before now, hmm...

Log:
Ove Kaaven <ovek at transgaming.com>
Don't restore the saved keyboard autorepeat config, since the config save
code itself was disabled a while ago...

Index: wine/dlls/dinput/keyboard/main.c
diff -u wine/dlls/dinput/keyboard/main.c:1.1.1.4 wine/dlls/dinput/keyboard/main.c:1.5
--- wine/dlls/dinput/keyboard/main.c:1.1.1.4	Mon Jan 29 09:21:21 2001
+++ wine/dlls/dinput/keyboard/main.c	Mon Jan 29 12:55:09 2001
@@ -195,8 +195,10 @@
 	TRACE("(this=%p)\n",This);
 
 	if (This->acquired == 1) {
+#if 0
 	  /* Restore the original configuration */
 	  USER_Driver.pSetKeyboardConfig(&(This->initial_config), 0xFFFFFFFF);
+#endif
 	  This->acquired = 0;
 	} else {
 	  ERR("Unacquiring a not-acquired device !!!\n");





More information about the wine-patches mailing list