Author: hpoussin
Date: Tue Jan 8 10:28:45 2008
New Revision: 31663
URL:
http://svn.reactos.org/svn/reactos?rev=31663&view=rev
Log:
Add debug trace
Modified:
trunk/reactos/drivers/input/i8042prt/keyboard.c
Modified: trunk/reactos/drivers/input/i8042prt/keyboard.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/input/i8042prt/key…
==============================================================================
--- trunk/reactos/drivers/input/i8042prt/keyboard.c (original)
+++ trunk/reactos/drivers/input/i8042prt/keyboard.c Tue Jan 8 10:28:45 2008
@@ -131,6 +131,10 @@
case IOCTL_KEYBOARD_SET_INDICATORS:
{
TRACE_(I8042PRT, "IOCTL_KEYBOARD_SET_INDICATORS\n");
+ INFO_(I8042PRT, "Leds: {%s%s%s }",
+ DeviceExtension->KeyboardIndicators.LedFlags & KEYBOARD_CAPS_LOCK_ON ? "
CAPSLOCK" : "",
+ DeviceExtension->KeyboardIndicators.LedFlags & KEYBOARD_NUM_LOCK_ON ? "
NUMLOCK" : "",
+ DeviceExtension->KeyboardIndicators.LedFlags & KEYBOARD_SCROLL_LOCK_ON ?
" SCROLLLOCK" : "");
PortDeviceExtension->PacketBuffer[0] = KBD_CMD_SET_LEDS;
PortDeviceExtension->PacketBuffer[1] = 0;