Disable USB keyboard and mouse support, as they conflict with i8042prt driver.
authorHervé Poussineau <hpoussin@reactos.org>
Sun, 11 Sep 2005 13:55:18 +0000 (13:55 +0000)
committerHervé Poussineau <hpoussin@reactos.org>
Sun, 11 Sep 2005 13:55:18 +0000 (13:55 +0000)
We need to change kbdclass/mouclass to be an upper filter of keyboard/mouse device objects (which would become unnamed), and to support multiple keyboards/mice

svn path=/trunk/; revision=17799

reactos/drivers/usb/miniport/common/main.c

index e75c2de..a6a1ce2 100644 (file)
@@ -65,6 +65,7 @@ CreateRootHubPdo(
        return STATUS_SUCCESS;
 }
 
+#if 0
 static NTSTATUS
 AddDevice_Keyboard(
        IN PDRIVER_OBJECT DriverObject,
@@ -122,6 +123,7 @@ AddDevice_Mouse(
 
        return STATUS_SUCCESS;
 }
+#endif
 
 NTSTATUS STDCALL
 AddDevice(
@@ -229,10 +231,12 @@ AddDevice(
 
        Status = IoCreateSymbolicLink(&LinkDeviceName, &DeviceName);
 
+       /*
        if (NT_SUCCESS(Status))
                Status = AddDevice_Keyboard(DriverObject, pdo);
        if (NT_SUCCESS(Status))
                Status = AddDevice_Mouse(DriverObject, pdo);
+       */
 
        if (!NT_SUCCESS(Status))
        {