mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Disable USB keyboard and mouse support, as they conflict with i8042prt driver.
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
This commit is contained in:
parent
019de62105
commit
cde1a0c17d
1 changed files with 4 additions and 0 deletions
|
@ -65,6 +65,7 @@ CreateRootHubPdo(
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
static NTSTATUS
|
static NTSTATUS
|
||||||
AddDevice_Keyboard(
|
AddDevice_Keyboard(
|
||||||
IN PDRIVER_OBJECT DriverObject,
|
IN PDRIVER_OBJECT DriverObject,
|
||||||
|
@ -122,6 +123,7 @@ AddDevice_Mouse(
|
||||||
|
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
AddDevice(
|
AddDevice(
|
||||||
|
@ -229,10 +231,12 @@ AddDevice(
|
||||||
|
|
||||||
Status = IoCreateSymbolicLink(&LinkDeviceName, &DeviceName);
|
Status = IoCreateSymbolicLink(&LinkDeviceName, &DeviceName);
|
||||||
|
|
||||||
|
/*
|
||||||
if (NT_SUCCESS(Status))
|
if (NT_SUCCESS(Status))
|
||||||
Status = AddDevice_Keyboard(DriverObject, pdo);
|
Status = AddDevice_Keyboard(DriverObject, pdo);
|
||||||
if (NT_SUCCESS(Status))
|
if (NT_SUCCESS(Status))
|
||||||
Status = AddDevice_Mouse(DriverObject, pdo);
|
Status = AddDevice_Mouse(DriverObject, pdo);
|
||||||
|
*/
|
||||||
|
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue