mirror of
https://github.com/reactos/reactos.git
synced 2024-07-06 20:55:16 +00:00
Add debug trace
svn path=/trunk/; revision=31663
This commit is contained in:
parent
f8150df959
commit
36598431fe
|
@ -131,6 +131,10 @@ i8042KbdStartIo(
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue