evilC / AutoHotInterception

An AutoHotkey wrapper for the Interception driver
MIT License
708 stars 64 forks source link

Bad assertion for UnsubscribeMouseButton function #31

Closed nikolovjovan closed 5 years ago

nikolovjovan commented 5 years ago

Looks like the function checks whether the specified id is a keyboard instead of the mouse. The following change needs to be made in Manager.cs:

IsValidDeviceId(false, id);

needs to be

IsValidDeviceId(true, id);
evilC commented 5 years ago

Fixed in 0.4.1