forderud / IntelliMouseDriver

Filter drivers for Microsoft Pro IntelliMouse that implements safety checks and exposes a WMI interface
MIT License
1 stars 1 forks source link

HidUtil: Add IntelliMouse explorer 3 support (VID_045E&PID_0047) #80

Open forderud opened 1 day ago

forderud commented 1 day ago

HWIDs from https://github.com/microsoft/Windows-driver-samples/blob/main/hid/firefly/driver/firefly.inx :

%HID\Vid_045E&Pid_001E.DeviceDesc%=Firefly_Inst, HID\Vid_045E&Pid_001E
%HID\Vid_045E&Pid_0029.DeviceDesc%=Firefly_Inst, HID\Vid_045E&Pid_0029
%HID\Vid_045E&Pid_0039.DeviceDesc%=Firefly_Inst, HID\Vid_045E&Pid_0039
%HID\Vid_045E&Pid_0040.DeviceDesc%=Firefly_Inst, HID\Vid_045E&Pid_0040
%HID\Vid_045E&Pid_0047.DeviceDesc%=Firefly_Inst, HID\Vid_045E&Pid_0047

HID report params from https://github.com/microsoft/Windows-driver-samples/blob/main/hid/firefly/driver/magic.h :

#define TAILLIGHT_PAGE      0xFF
#define TAILLIGHT_FEATURE   0x02

Client code:

        status = FireflySetFeature(
            WdfObjectGet_DEVICE_CONTEXT(WdfWmiInstanceGetDevice(WmiInstance)),
            TAILLIGHT_PAGE,
            TAILLIGHT_FEATURE,
            pInfo->TailLit
            );

SendFeature report code: https://github.com/microsoft/Windows-driver-samples/blob/main/hid/firefly/driver/vfeature.c

Device Manager

Driver INF: oem59.inf (C:\Windows\INF\oem59.inf) HID_DEVICE_SYSTEM_MOUSE:
image image

Limitations

forderud commented 1 day ago

DevicePowerQuery listing:

== Device 4: <unknown> ==
Description: Microsoft USB IntelliMouse Explorer 3.0 (Mouse and Keyboard Center)
HWID       : HID\VID_045E&PID_0047&REV_0300
InstanceID : HID\VID_045E&PID_0047\6&1F97D7C7&0&0000
PDO        : \Device\000000fa

== Device 22: <unknown> ==
Description: Microsoft Pro Intellimouse (Mouse and Keyboard Center)
HWID       : HID\VID_045E&PID_082A&REV_0095&MI_00&Col01
InstanceID : HID\VID_045E&PID_082A&MI_00&COL01\7&1E197275&0&0000
PDO        : \Device\000000fe

DeviceInterfacePath: \\?\hid#vid_045e&pid_082a&mi_00&col01#7&1e197275&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}