3 #define _HIDPI_NO_FUNCTION_MACROS_
18 // lower device object
20 PDEVICE_OBJECT NextDeviceObject
;
23 // irp which is used for reading input reports
30 KEVENT ReadCompletionEvent
;
33 // device object for class callback
35 PDEVICE_OBJECT ClassDeviceObject
;
45 USHORT MouseIdentifier
;
50 USHORT WheelUsagePage
;
55 USHORT UsageListLength
;
58 // current usage list length
60 PUSAGE CurrentUsageList
;
63 // previous usage list
65 PUSAGE PreviousUsageList
;
68 // removed usage item list
70 PUSAGE BreakUsageList
;
73 // new item usage list
83 // mdl for reading input report
88 // input report buffer
93 // input report length
98 // file object the device is reading reports from
100 PFILE_OBJECT FileObject
;
103 // report read is active
105 UCHAR ReadReportActive
;
110 UCHAR StopReadReport
;
120 HIDP_VALUE_CAPS ValueCapsX
;
123 // value caps y button
125 HIDP_VALUE_CAPS ValueCapsY
;
128 }MOUHID_DEVICE_EXTENSION
, *PMOUHID_DEVICE_EXTENSION
;
130 #define WHEEL_DELTA 120
134 IN PMOUHID_DEVICE_EXTENSION DeviceExtension
);