mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 07:55:56 +00:00
[USB-BRINGUP-TRUNK]
- Revert r55030 svn path=/branches/usb-bringup-trunk/; revision=55035
This commit is contained in:
parent
d0fd35677e
commit
bac7373d51
3 changed files with 5 additions and 9 deletions
|
@ -101,7 +101,7 @@ HidParser_GetReportByType(
|
||||||
{
|
{
|
||||||
PHID_PARSER_CONTEXT ParserContext;
|
PHID_PARSER_CONTEXT ParserContext;
|
||||||
ULONG Index;
|
ULONG Index;
|
||||||
//ULONG ReportCount = 0;
|
ULONG ReportCount = 0;
|
||||||
|
|
||||||
//
|
//
|
||||||
// get parser context
|
// get parser context
|
||||||
|
@ -863,7 +863,7 @@ HidParser_GetScaledUsageValueWithReport(
|
||||||
PHID_PARSER_CONTEXT ParserContext;
|
PHID_PARSER_CONTEXT ParserContext;
|
||||||
ULONG Index;
|
ULONG Index;
|
||||||
PHID_REPORT Report;
|
PHID_REPORT Report;
|
||||||
//ULONG ItemCount = 0;
|
ULONG ItemCount = 0;
|
||||||
USHORT CurrentUsagePage;
|
USHORT CurrentUsagePage;
|
||||||
PHID_REPORT_ITEM ReportItem;
|
PHID_REPORT_ITEM ReportItem;
|
||||||
ULONG Data;
|
ULONG Data;
|
||||||
|
@ -1017,7 +1017,7 @@ HidParser_DispatchKey(
|
||||||
//
|
//
|
||||||
// is this a key break
|
// is this a key break
|
||||||
//
|
//
|
||||||
if (KeyAction == HidP_Keyboard_Break)
|
if (KeyAction == HidP_KeyboardBreak)
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// add break
|
// add break
|
||||||
|
|
|
@ -49,7 +49,7 @@ HidParser_GetCollectionDescription(
|
||||||
OUT PHIDP_DEVICE_DESC DeviceDescription)
|
OUT PHIDP_DEVICE_DESC DeviceDescription)
|
||||||
{
|
{
|
||||||
HIDPARSER_STATUS ParserStatus;
|
HIDPARSER_STATUS ParserStatus;
|
||||||
ULONG CollectionCount;
|
ULONG CollectionCount, ReportCount;
|
||||||
ULONG Index;
|
ULONG Index;
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -678,9 +678,7 @@ HidParser_TranslateUsageAndPagesToI8042ScanCodes(
|
||||||
//
|
//
|
||||||
// process usage
|
// process usage
|
||||||
//
|
//
|
||||||
//Status = HidParser_TranslateUsage(Parser, ChangedUsageList[Index].Usage, KeyAction, ModifierState, InsertCodesProcedure, InsertCodesContext);
|
Status = HidParser_TranslateUsage(Parser, ChangedUsageList[Index].Usage, KeyAction, ModifierState, InsertCodesProcedure, InsertCodesContext);
|
||||||
UNIMPLEMENTED
|
|
||||||
Status = HIDPARSER_STATUS_NOT_IMPLEMENTED;
|
|
||||||
}
|
}
|
||||||
else if (ChangedUsageList[Index].UsagePage == HID_USAGE_PAGE_CONSUMER)
|
else if (ChangedUsageList[Index].UsagePage == HID_USAGE_PAGE_CONSUMER)
|
||||||
{
|
{
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
#define _HIDPI_
|
#define _HIDPI_
|
||||||
#define _HIDPI_NO_FUNCTION_MACROS_
|
#define _HIDPI_NO_FUNCTION_MACROS_
|
||||||
#include <ntddk.h>
|
#include <ntddk.h>
|
||||||
#include <ntddkbd.h>
|
|
||||||
#include <hidpddi.h>
|
#include <hidpddi.h>
|
||||||
#include <hidpi.h>
|
#include <hidpi.h>
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
@ -331,7 +330,6 @@ HIDAPI
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
NTAPI
|
NTAPI
|
||||||
HidParser_TranslateUsageAndPagesToI8042ScanCodes(
|
HidParser_TranslateUsageAndPagesToI8042ScanCodes(
|
||||||
IN PHID_PARSER Parser,
|
|
||||||
IN PUSAGE_AND_PAGE ChangedUsageList,
|
IN PUSAGE_AND_PAGE ChangedUsageList,
|
||||||
IN ULONG UsageListLength,
|
IN ULONG UsageListLength,
|
||||||
IN HIDP_KEYBOARD_DIRECTION KeyAction,
|
IN HIDP_KEYBOARD_DIRECTION KeyAction,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue