Fixed bad device id assertion for mouse button unsubscription...

pull/32/head
Jovan Nikolov 5 years ago
parent ffe11e1e6e
commit 47a7e8601d

@ -148,7 +148,7 @@ namespace AutoHotInterception
public void UnsubscribeMouseButton(int id, ushort btn)
{
IsValidDeviceId(false, id);
IsValidDeviceId(true, id);
SetFilterState(false);
if (_mouseButtonMappings.TryGetValue(id, out var thisDevice))

Loading…
Cancel
Save