AutoHotInterception icon indicating copy to clipboard operation
AutoHotInterception copied to clipboard

Keyboard is reported twice in monitor, same VID/PID, but different handle

Open Eugeniu-N opened this issue 5 years ago • 0 comments

In the monitor my keyboard is reported twice with this data:

ID: 1 VID/PID: 0x1B1C, 0x1B0A Handle: HID\VID_1B1C&PID_1B0A&REV_0103&MI_00

ID: 2 VID/PID: 0x1B1C, 0x1B0A Handle: HID\VID_1B1C&PID_1B0A&REV_0103&MI_02

When I press any key the monitor only reports data from the second one, so I'm not sure if this is expected or something specifically on my end or a bug

This causes issues when executing AHI.GetKeyboardId(0x1B1C, 0x1B0A) because this function returns 1, while the "active" keyboard has ID 2. I cannot hardcode this ID because the ID values change after every reboot.

Eugeniu-N avatar Jan 18 '21 12:01 Eugeniu-N