evilC / AutoHotInterception

An AutoHotkey wrapper for the Interception driver
MIT License
734 stars 66 forks source link

Like the mouse ID, only one of them can be recognized #85

Closed lhj5426 closed 1 year ago

lhj5426 commented 2 years ago

image There are two wireless mice of the same brand, but the IDs of different models are exactly the same when connected, which can be recognized by monitor

But use subscribeall example in mouseid: = AHI GetMouseId(0x1EA7, 0x0064) AHI. Subscribemousebuttons (mouseid, true, func ("mousebuttonevent")) can only recognize one

How can I recognize two mice respectively?

evilC commented 1 year ago

Use device handle (ie AHI.GetMouseIdFromHandle()) This will uniquely identify the two mice