mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[USB-BRINGUP-TRUNK]
- Fix build errors in kbdhid and mouhid svn path=/branches/usb-bringup-trunk/; revision=55025
This commit is contained in:
parent
3a034047fc
commit
86feb20aad
3 changed files with 5 additions and 5 deletions
|
@ -42,7 +42,7 @@ KbdHid_InsertScanCodes(
|
|||
IN PCHAR NewScanCodes,
|
||||
IN ULONG Length)
|
||||
{
|
||||
KEYBOARD_INPUT_DATA InputData;
|
||||
//KEYBOARD_INPUT_DATA InputData;
|
||||
ULONG Index;
|
||||
|
||||
for(Index = 0; Index < Length; Index++)
|
||||
|
@ -563,7 +563,7 @@ KbdHid_StartDevice(
|
|||
/* init input report*/
|
||||
DeviceExtension->ReportLength = Capabilities.InputReportByteLength;
|
||||
ASSERT(DeviceExtension->ReportLength);
|
||||
DeviceExtension->Report = (PUCHAR)ExAllocatePool(NonPagedPool, DeviceExtension->ReportLength);
|
||||
DeviceExtension->Report = (PCHAR)ExAllocatePool(NonPagedPool, DeviceExtension->ReportLength);
|
||||
ASSERT(DeviceExtension->Report);
|
||||
RtlZeroMemory(DeviceExtension->Report, DeviceExtension->ReportLength);
|
||||
|
||||
|
|
|
@ -648,7 +648,7 @@ MouHid_StartDevice(
|
|||
DPRINT1("[MOUHID] Usage %x UsagePage %x InputReportLength %lu\n", Capabilities.Usage, Capabilities.UsagePage, Capabilities.InputReportByteLength);
|
||||
|
||||
/* verify capabilities */
|
||||
if (Capabilities.Usage != HID_USAGE_GENERIC_POINTER && Capabilities.Usage != HID_USAGE_GENERIC_MOUSE || Capabilities.UsagePage != HID_USAGE_PAGE_GENERIC)
|
||||
if ((Capabilities.Usage != HID_USAGE_GENERIC_POINTER && Capabilities.Usage != HID_USAGE_GENERIC_MOUSE) || Capabilities.UsagePage != HID_USAGE_PAGE_GENERIC)
|
||||
{
|
||||
/* not supported */
|
||||
ExFreePool(PreparsedData);
|
||||
|
@ -658,7 +658,7 @@ MouHid_StartDevice(
|
|||
/* init input report*/
|
||||
DeviceExtension->ReportLength = Capabilities.InputReportByteLength;
|
||||
ASSERT(DeviceExtension->ReportLength);
|
||||
DeviceExtension->Report = (PUCHAR)ExAllocatePool(NonPagedPool, DeviceExtension->ReportLength);
|
||||
DeviceExtension->Report = (PCHAR)ExAllocatePool(NonPagedPool, DeviceExtension->ReportLength);
|
||||
ASSERT(DeviceExtension->Report);
|
||||
RtlZeroMemory(DeviceExtension->Report, DeviceExtension->ReportLength);
|
||||
|
||||
|
|
|
@ -86,7 +86,7 @@ typedef struct
|
|||
//
|
||||
// input report buffer
|
||||
//
|
||||
PUCHAR Report;
|
||||
PCHAR Report;
|
||||
|
||||
//
|
||||
// input report length
|
||||
|
|
Loading…
Reference in a new issue