- Add back and fix useful dprint.
authorAlex Ionescu <aionescu@gmail.com>
Fri, 29 Jul 2005 14:56:38 +0000 (14:56 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Fri, 29 Jul 2005 14:56:38 +0000 (14:56 +0000)
svn path=/trunk/; revision=16867

reactos/subsys/win32k/ntuser/keyboard.c

index d48ac8b..99653e3 100644 (file)
@@ -1160,6 +1160,8 @@ NtUserVkKeyScanEx(
         if(vkPtr->wch[CapsState] == wChar)
         {
           CapsMod = KeyLayout->pCharModifiers->ModNumber[CapsState];
         if(vkPtr->wch[CapsState] == wChar)
         {
           CapsMod = KeyLayout->pCharModifiers->ModNumber[CapsState];
+          DPRINT("nMod %d wC %04x: CapsMod %08x CapsState %08x MaxModBits %08x\n",
+                 nMod, wChar, CapsMod, CapsState, KeyLayout->pCharModifiers->wMaxModBits);
           return ((CapsMod << 8)|(vkPtr->VirtualKey & 0xff));
         }
       }
           return ((CapsMod << 8)|(vkPtr->VirtualKey & 0xff));
         }
       }